Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.h |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.h b/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.h |
index fd4d9abd643968e902616e0d7dcc2c3d61444c3f..f59205536a1984d9bd579b4d8fa112784bf59708 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.h |
@@ -3,7 +3,7 @@ |
// found in the LICENSE file. |
#include "core/frame/FrameView.h" |
-#include "core/layout/LayoutBoxModelObject.h" |
+#include "core/layout/LayoutBlock.h" |
#include "core/layout/LayoutTestHelper.h" |
#include "core/paint/PaintLayer.h" |
#include "core/paint/PaintLayerScrollableArea.h" |
@@ -17,6 +17,12 @@ public: |
: RenderingTest(SingleChildFrameLoaderClient::create()) |
{ } |
+ bool shouldPaintBackgroundOntoScrollingContentsLayer(const char* elementId) |
+ { |
+ PaintLayer* paintLayer = toLayoutBlock(getLayoutObjectByElementId(elementId))->layer(); |
+ return paintLayer->shouldPaintBackgroundOntoScrollingContentsLayer(); |
+ } |
+ |
private: |
void SetUp() override |
{ |