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 e3906f0d0cb2991dc809f5676239f6dcbe17d569..57becf1a3e1e1e36d502f101184ca4f325347b2e 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.h |
@@ -18,6 +18,12 @@ public: |
: RenderingTest(SingleChildFrameLoaderClient::create()) |
{ } |
+ bool shouldPaintBackgroundOntoScrollingContentsLayer(const char* elementId) |
+ { |
+ PaintLayer* paintLayer = toLayoutBlock(getLayoutObjectByElementId(elementId))->layer(); |
+ return paintLayer->shouldPaintBackgroundOntoScrollingContentsLayer(); |
+ } |
+ |
private: |
void SetUp() override |
{ |