Bug 114568
| Summary: | [Meta] Use narrower types for StylePropertySet pointers around WebKit. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Andreas Kling <kling> |
| Component: | CSS | Assignee: | Andreas Kling <kling> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | kling, koivisto, rniwa |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 114569, 114574, 114581, 114583, 114584, 114585, 114587, 114588, 114589, 114590, 114592, 114595 | ||
| Bug Blocks: | |||
Andreas Kling
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |