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 fbe3af31fe120941880ea97fa1b543c2c864fc25..928ac9e021bc9a454bcb8e4599188124a758ada9 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h |
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h |
@@ -133,6 +133,12 @@ public: |
void updateRootLayerAttachment(); |
void updateRootLayerPosition(); |
+ // If the root scroller isn't the root layer then the PaintLayerCompositor |
+ // must disable clipping on its layers so that the root scroller can |
+ // expand/shrink its clipping layer in response to top controls and have |
+ // the result be visible. |
+ void updateClippingOnCompositorLayers(); |
+ |
void setIsInWindow(bool); |
static PaintLayerCompositor* frameContentsCompositor(LayoutPart*); |