| Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
|
| index 68ffabf78b70fb2dc47bb981f2fa9d10c6727b90..6a281590ea4db3941333c6969560b9f05b2ae1dd 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
|
| @@ -129,16 +129,6 @@ class CORE_EXPORT PaintLayerCompositor final : public GraphicsLayerClient {
|
| GraphicsLayer* containerLayer() const;
|
| GraphicsLayer* rootContentLayer() const;
|
|
|
| - enum RootLayerAttachment {
|
| - RootLayerUnattached,
|
| - RootLayerAttachedViaChromeClient,
|
| - RootLayerAttachedViaEnclosingFrame
|
| - };
|
| -
|
| - RootLayerAttachment getRootLayerAttachment() const {
|
| - return m_rootLayerAttachment;
|
| - }
|
| - void updateRootLayerAttachment();
|
| void updateRootLayerPosition();
|
|
|
| // If the root scroller isn't the root layer then the PaintLayerCompositor
|
| @@ -218,7 +208,7 @@ class CORE_EXPORT PaintLayerCompositor final : public GraphicsLayerClient {
|
| void ensureRootLayer();
|
| void destroyRootLayer();
|
|
|
| - void attachRootLayer(RootLayerAttachment);
|
| + void attachRootLayer();
|
| void detachRootLayer();
|
|
|
| void attachCompositorTimeline();
|
| @@ -270,6 +260,12 @@ class CORE_EXPORT PaintLayerCompositor final : public GraphicsLayerClient {
|
| bool m_isTrackingRasterInvalidations; // Used for testing.
|
| bool m_inOverlayFullscreenVideo;
|
|
|
| + enum RootLayerAttachment {
|
| + RootLayerUnattached,
|
| + RootLayerPendingAttachViaChromeClient,
|
| + RootLayerAttachedViaChromeClient,
|
| + RootLayerAttachedViaEnclosingFrame
|
| + };
|
| RootLayerAttachment m_rootLayerAttachment;
|
|
|
| // Enclosing container layer, which clips for iframe content
|
|
|