Bug 141276

Summary: Use enum class for GraphicsLayer::ContentsLayerPurpose
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: ahmad.saleem792, simon.fraser, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch thorton: review+, thorton: commit-queue-

Description Simon Fraser (smfr) 2015-02-04 17:17:10 PST
Use enum class for GraphicsLayer::ContentsLayerPurpose
Comment 1 Simon Fraser (smfr) 2015-02-04 17:17:41 PST
Created attachment 246070 [details]
Patch
Comment 2 Tim Horton 2015-02-04 17:43:06 PST
Comment on attachment 246070 [details]
Patch

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

> Source/WebCore/platform/graphics/GraphicsLayer.h:230
> +        NoLayer = 0,

"None"?
Comment 3 Alexey Proskuryakov 2015-02-04 20:25:59 PST
iOS EWS says:

/Volumes/Data/EWS/WebKit/Source/WebKit/mac/WebView/WebView.mm:3447:78: error: no member named 'ContentsLayerForMedia' in 'WebCore::GraphicsLayer'; did you mean 'contentsLayerForMedia'?