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

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

Issue 2196583002: Paint local background colors onto foreground layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Only set PaintLayerPaintingRootBackgroundOntoForeground while painting root background instead of s… 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/PaintLayerPaintingInfo.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h b/third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h
index e3fca6881003c7498d85fd03f4ebe542dec1adf3..076cc97a91dc00b2022cb6eeb30308da9798dbed 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h
@@ -70,6 +70,7 @@ enum PaintLayerFlag {
PaintLayerPaintingSkipRootBackground = 1 << 11,
PaintLayerPaintingChildClippingMaskPhase = 1 << 12,
PaintLayerPaintingRenderingClipPathAsMask = 1 << 13,
+ PaintLayerPaintingRootBackgroundOntoForeground = 1 << 14,
chrishtr 2016/08/03 18:58:00 How about PaintLayerPaintingRootBackgroundOntoScro
flackr 2016/08/03 20:58:53 Sure, should I replace foreground elsewhere with s
PaintLayerPaintingCompositingAllPhases = (PaintLayerPaintingCompositingBackgroundPhase | PaintLayerPaintingCompositingForegroundPhase | PaintLayerPaintingCompositingMaskPhase)
};

Powered by Google App Engine
This is Rietveld 408576698