Bug 169507 - Fix memory estimate for layers supporting subpixel-antialised text
Summary: Fix memory estimate for layers supporting subpixel-antialised text
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-10 20:48 PST by Simon Fraser (smfr)
Modified: 2017-03-14 16:06 PDT (History)
3 users (show)

See Also:


Attachments
Patch (2.73 KB, patch)
2017-03-10 20:49 PST, Simon Fraser (smfr)
ap: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2017-03-10 20:48:33 PST
Fix memory estimate for layers supporting subpixel-antialised text
Comment 1 Simon Fraser (smfr) 2017-03-10 20:49:52 PST
Created attachment 304124 [details]
Patch
Comment 2 Alexey Proskuryakov 2017-03-10 22:18:27 PST
Comment on attachment 304124 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=304124&action=review

> Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:1197
> +#if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 90300)

Please remove the outmost parentheses.

> Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:1202
> +#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200)

Please remove the outmost parentheses.
Comment 3 Simon Fraser (smfr) 2017-03-14 16:06:01 PDT
https://trac.webkit.org/changeset/213767