| 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
|
|
|