Bug 114568 - [Meta] Use narrower types for StylePropertySet pointers around WebKit.
Summary: [Meta] Use narrower types for StylePropertySet pointers around WebKit.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on: 114569 114574 114581 114583 114584 114585 114587 114588 114589 114590 114592 114595
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-13 10:11 PDT by Andreas Kling
Modified: 2013-04-15 11:13 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2013-04-13 10:11:00 PDT
We should move all non-const StylePropertySet methods to MutableStylePropertySet.
This'll catch mistakes at compile time instead of relying on various ASSERT(isMutable()); checks.
We should also use MutableStylePropertySet pointers instead of StylePropertySet where it improves and/or self-documents the code.