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

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

Issue 2346883003: Only paint the background onto the scrolling contents layer if we have a scrolling contents layer. (Closed)
Patch Set: Remove obsolete border-radius test. Created 4 years, 3 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 f59205536a1984d9bd579b4d8fa112784bf59708..a77e751587af45c710e7ddcec895c065381189ce 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.h
@@ -17,10 +17,10 @@ public:
: RenderingTest(SingleChildFrameLoaderClient::create())
{ }
- bool shouldPaintBackgroundOntoScrollingContentsLayer(const char* elementId)
+ bool canPaintBackgroundOntoScrollingContentsLayer(const char* elementId)
{
PaintLayer* paintLayer = toLayoutBlock(getLayoutObjectByElementId(elementId))->layer();
- return paintLayer->shouldPaintBackgroundOntoScrollingContentsLayer();
+ return paintLayer->canPaintBackgroundOntoScrollingContentsLayer();
}
private:

Powered by Google App Engine
This is Rietveld 408576698