Summary: | Avoid unnecessary isSVGFont() check in SimpleFontData::applyTransforms() | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
Component: | Platform | Assignee: | Chris Dumez <cdumez> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Enhancement | CC: | commit-queue, d-r, fmalita, gyuyoung.kim, kling, mmaxfield, pdr, rniwa, schenney, sergio | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Chris Dumez
2014-10-17 14:10:15 PDT
Created attachment 240038 [details]
Patch
Comment on attachment 240038 [details]
Patch
r=me
You could also mark applyTransforms() as deleted in SVGFontData. That way you'll get a compile error if you try to call it on an SVGFontData object.
(In reply to comment #2) > Comment on attachment 240038 [details] > Patch > > r=me > > You could also mark applyTransforms() as deleted in SVGFontData. That way > you'll get a compile error if you try to call it on an SVGFontData object. Yes, love it Created attachment 240040 [details]
Patch
Comment on attachment 240040 [details] Patch Clearing flags on attachment: 240040 Committed r174853: <http://trac.webkit.org/changeset/174853> All reviewed patches have been landed. Closing bug. |