| Index: Source/core/platform/graphics/GraphicsLayer.h
|
| diff --git a/Source/core/platform/graphics/GraphicsLayer.h b/Source/core/platform/graphics/GraphicsLayer.h
|
| index b2fb1ad1392b0e937cd20ce4fd25847d9c74039d..a6c41bcf091ed4480410640e55a04e3e62155069 100644
|
| --- a/Source/core/platform/graphics/GraphicsLayer.h
|
| +++ b/Source/core/platform/graphics/GraphicsLayer.h
|
| @@ -81,14 +81,6 @@ protected:
|
| class GraphicsLayer : public GraphicsContextPainter, public blink::WebAnimationDelegate, public blink::WebLayerScrollClient, public blink::WebLayerClient {
|
| WTF_MAKE_NONCOPYABLE(GraphicsLayer); WTF_MAKE_FAST_ALLOCATED;
|
| public:
|
| - enum ContentsLayerPurpose {
|
| - NoContentsLayer = 0,
|
| - ContentsLayerForImage,
|
| - ContentsLayerForNinePatch,
|
| - ContentsLayerForVideo,
|
| - ContentsLayerForCanvas,
|
| - };
|
| -
|
| static PassOwnPtr<GraphicsLayer> create(GraphicsLayerFactory*, GraphicsLayerClient*);
|
|
|
| virtual ~GraphicsLayer();
|
| @@ -342,7 +334,7 @@ private:
|
| void updateLayerIsDrawable();
|
| void updateContentsRect();
|
|
|
| - void setContentsTo(ContentsLayerPurpose, blink::WebLayer*);
|
| + void setContentsTo(blink::WebLayer*);
|
| void setupContentsLayer(blink::WebLayer*);
|
| void clearContentsLayerIfUnregistered();
|
| blink::WebLayer* contentsLayerIfRegistered();
|
| @@ -409,8 +401,6 @@ private:
|
|
|
| OwnPtr<OpaqueRectTrackingContentLayerDelegate> m_opaqueRectTrackingContentLayerDelegate;
|
|
|
| - ContentsLayerPurpose m_contentsLayerPurpose;
|
| -
|
| ScrollableArea* m_scrollableArea;
|
| blink::WebCompositingReasons m_compositingReasons;
|
| };
|
|
|