Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
index 57101d591115aef46cd385775e6ec7d430b6aec8..3cd169b5cc75882b2b5de65b421a8de5fc9913c1 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
@@ -234,6 +234,10 @@ public: |
WebContentLayer* contentLayer() const { return m_layer.get(); } |
+ // Sets main thread scrolling reasons on the underlying layer. If given 0, |
+ // clears the main thread scrolling reasons. |
+ void setMainThreadScrollingReasons(uint32_t); |
+ |
static void registerContentsLayer(WebLayer*); |
static void unregisterContentsLayer(WebLayer*); |