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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h

Issue 2511893002: Paint solid color background into both scrolling contents layer and graphics layer. (Closed)
Patch Set: Created 4 years, 1 month 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/layout/compositing/CompositedLayerMapping.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
index 54f1541938265a70b8becdada33e2c7d946a4ae8..0073709d45c6489b03998702c9cdcc59b80244a4 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
@@ -651,6 +651,11 @@ class CORE_EXPORT CompositedLayerMapping final : public GraphicsLayerClient {
// layer for invalidations.
unsigned m_backgroundPaintsOntoScrollingContentsLayer : 1;
+ // Solid color border boxes may be painted into both the scrolling contents
+ // layer and the graphics layer because the scrolling contents layer is
+ // clipped by the padding box.
+ unsigned m_backgroundPaintsOntoGraphicsLayer : 1;
+
friend class CompositedLayerMappingTest;
};

Powered by Google App Engine
This is Rietveld 408576698