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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 2302743004: Reland Paint solid color backgrounds which are equivalent to locally attached into scrolling conten… (Closed)
Patch Set: Remove unnecessary change. 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/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 4601e9f7d8c54e8b76179eaedf65928a587b9e78..6aa246a751a34c29f6188630e8fc544454e7db43 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -2360,7 +2360,7 @@ bool PaintLayer::shouldPaintBackgroundOntoScrollingContentsLayer() const
{
return !isRootLayer()
&& scrollsOverflow()
- && layoutObject()->style()->hasEntirelyLocalBackground()
+ && layoutObject()->hasLocalEquivalentBackground()
&& !stackingNode()->hasNegativeZOrderList();
}

Powered by Google App Engine
This is Rietveld 408576698