Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(713)

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.h

Issue 2259493004: Fix Compositing of Opaque Scrolling Layers and Add Tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
{

Powered by Google App Engine
This is Rietveld 408576698