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

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

Issue 2648343004: Don't paint selections in <mask>s, <clipPath>s and <pattern>s (Closed)
Patch Set: Rebase Created 3 years, 11 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/PaintInfo.h
diff --git a/third_party/WebKit/Source/core/paint/PaintInfo.h b/third_party/WebKit/Source/core/paint/PaintInfo.h
index 624dc74aa2c5160b542dde859d5be6ce877e2167..e97774dfb3df658d25568b209ccde0bdae77798a 100644
--- a/third_party/WebKit/Source/core/paint/PaintInfo.h
+++ b/third_party/WebKit/Source/core/paint/PaintInfo.h
@@ -85,6 +85,9 @@ struct CORE_EXPORT PaintInfo {
bool isRenderingClipPathAsMaskImage() const {
return m_paintFlags & PaintLayerPaintingRenderingClipPathAsMask;
}
+ bool isRenderingResourceSubtree() const {
+ return m_paintFlags & PaintLayerPaintingRenderingResourceSubtree;
+ }
bool skipRootBackground() const {
return m_paintFlags & PaintLayerPaintingSkipRootBackground;

Powered by Google App Engine
This is Rietveld 408576698