Bug 24649
Summary: | Mutable methods on TransformationMatrix should not return a reference to this | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | cmarrin, dino |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 |
Simon Fraser (smfr)
TransformationMatrix has methods like
TransformationMatrix& multiply(TransformationMatrix&);
This is confusing at the call-site, because it could imply that the method is immutable, when it's not.
This is actually causing a bug in DOMSVGMatrix, which gets this all wrong.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |