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

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

Issue 1391753005: (WIP) Invalidation during painting (for synchronized painting) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/SVGPaintContext.h
diff --git a/third_party/WebKit/Source/core/paint/SVGPaintContext.h b/third_party/WebKit/Source/core/paint/SVGPaintContext.h
index d8f1a18e34726f37b63c6934cc496a714e4ae099..a5a4e445b289502767e58c043570cdfa99291388 100644
--- a/third_party/WebKit/Source/core/paint/SVGPaintContext.h
+++ b/third_party/WebKit/Source/core/paint/SVGPaintContext.h
@@ -54,7 +54,10 @@ public:
#if ENABLE(ASSERT)
, m_applyClipMaskAndFilterIfNecessaryCalled(false)
#endif
- { }
+ {
+ if (RuntimeEnabledFeatures::slimmingPaintSynchronizedPaintingEnabled())
+ initializePaintInvalidationState();
+ }
~SVGPaintContext();
@@ -83,6 +86,8 @@ private:
bool isIsolationInstalled() const;
+ void initializePaintInvalidationState();
+
const LayoutObject& m_object;
PaintInfo m_paintInfo;
OwnPtr<PaintInfo> m_filterPaintInfo;
@@ -96,6 +101,7 @@ private:
#if ENABLE(ASSERT)
bool m_applyClipMaskAndFilterIfNecessaryCalled;
#endif
+ Optional<PaintInvalidationState> m_paintInvalidationState;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp ('k') | third_party/WebKit/Source/core/paint/SVGPaintContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698