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

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: Add Mac rebaselines. Created 4 years 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 bfb45fd756149f3b8421873ec721781d0fc57c56..6ee087cb6ff8003890f1d4aad870f15329138644 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
@@ -663,6 +663,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