Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h |
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h |
index ae1134ecc2db9086d16c65900c679785c268f494..e0db97be1d3cac955423d0645e7305f5b1b02acc 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h |
@@ -338,6 +338,12 @@ private: |
// not appear earlier in the set of layers for this object. |
bool invalidateLayerIfNoPrecedingEntry(size_t); |
+ // Disables clipping on layers that are ancestors of the root scroller. This allows the |
+ // root scroller to expand and shrink its clipping layer in response to top controls |
+ // movement and have it be visible to the user even if there's other masking layers above |
+ // it in the hierarchy. |
+ void setClippingOnRootScrollerAncestors(); |
chrishtr
2016/09/01 23:42:56
Name it disableClippingOnRootScrollerAncestors ins
bokan
2016/09/09 00:19:02
This method is gone now.
|
+ |
PaintLayer& m_owningLayer; |
// The hierarchy of layers that is maintained by the CompositedLayerMapping looks like this: |