| Index: third_party/WebKit/Source/core/paint/SVGRootPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp b/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp
|
| index 08c4e3f4d8d268f71b3dc41c8e1aa9fa455195ce..ade5d5e73e3eb9a33657deeb79b0a13d5ead30b9 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp
|
| @@ -8,6 +8,7 @@
|
| #include "core/layout/svg/SVGResources.h"
|
| #include "core/layout/svg/SVGResourcesCache.h"
|
| #include "core/paint/BoxPainter.h"
|
| +#include "core/paint/LayoutObjectDrawingRecorder.h"
|
| #include "core/paint/PaintInfo.h"
|
| #include "core/paint/SVGPaintContext.h"
|
| #include "core/paint/TransformRecorder.h"
|
| @@ -43,6 +44,10 @@ void SVGRootPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO
|
|
|
| PaintInfo paintInfoBeforeFiltering(paintInfo);
|
|
|
| + Optional<ScopedPaintChunkProperties> propertyScope;
|
| + if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| + LayoutObjectDrawingRecorder::updatePropertyScope(propertyScope, paintInfoBeforeFiltering.context, m_layoutSVGRoot);
|
| +
|
| // Apply initial viewport clip.
|
| Optional<ClipRecorder> clipRecorder;
|
| if (m_layoutSVGRoot.shouldApplyViewportClip()) {
|
|
|