Summary: | Use is<>() / downcast<>() for CSS StyleProperties | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
Component: | CSS | Assignee: | Chris Dumez <cdumez> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | 137056 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Chris Dumez
2014-10-03 13:03:12 PDT
Created attachment 239223 [details]
Patch
Created attachment 239255 [details]
Patch
Comment on attachment 239255 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239255&action=review > Source/WebCore/css/StyleProperties.h:286 > + static bool isType(const WebCore::StyleProperties& set) { return set.isMutable(); } Never noticed that before, but those functions aren't const... Comment on attachment 239255 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239255&action=review >> Source/WebCore/css/StyleProperties.h:286 >> + static bool isType(const WebCore::StyleProperties& set) { return set.isMutable(); } > > Never noticed that before, but those functions aren't const... they are static Comment on attachment 239255 [details] Patch Clearing flags on attachment: 239255 Committed r174313: <http://trac.webkit.org/changeset/174313> All reviewed patches have been landed. Closing bug. |