This is a cleanup.
Created attachment 85068 [details] cleanup
Comment on attachment 85068 [details] cleanup View in context: https://bugs.webkit.org/attachment.cgi?id=85068&action=review > Source/WebCore/editing/ApplyStyleCommand.cpp:79 > - explicit StyleChange(CSSStyleDeclaration*, const Position&); > + explicit StyleChange(EditingStyle*, const Position&); It doesn’t make any sense to use the explicit keyword on a constructor that can’t be called with a single argument. So “explicit” should be removed here.
(In reply to comment #2) > (From update of attachment 85068 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=85068&action=review > > > Source/WebCore/editing/ApplyStyleCommand.cpp:79 > > - explicit StyleChange(CSSStyleDeclaration*, const Position&); > > + explicit StyleChange(EditingStyle*, const Position&); > > It doesn’t make any sense to use the explicit keyword on a constructor that can’t be called with a single argument. So “explicit” should be removed here. That's what I thought. Okay, I'm getting rid of that. Thanks for the review.
Landed as http://trac.webkit.org/changeset/80580.