| Index: third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
|
| index c4dc8b96453f687b7d644b378192f132a4b157f1..e60609d73bfcc3dc5def595227820249b314ae98 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
|
| @@ -11,7 +11,6 @@
|
| #include "core/paint/ObjectPainter.h"
|
| #include "core/paint/PaintInfo.h"
|
| #include "core/paint/SVGPaintContext.h"
|
| -#include "core/paint/TransformRecorder.h"
|
| #include "core/svg/SVGImageElement.h"
|
| #include "core/svg/graphics/SVGImage.h"
|
| #include "platform/graphics/GraphicsContext.h"
|
| @@ -32,7 +31,7 @@ void SVGImagePainter::paint(const PaintInfo& paintInfo)
|
|
|
| PaintInfo paintInfoBeforeFiltering(paintInfo);
|
| // Images cannot have children so do not call updateCullRect.
|
| - TransformRecorder transformRecorder(paintInfoBeforeFiltering.context, m_layoutSVGImage, m_layoutSVGImage.localToSVGParentTransform());
|
| + SVGTransformContext transformContext(paintInfoBeforeFiltering.context, m_layoutSVGImage, m_layoutSVGImage.localToSVGParentTransform());
|
| {
|
| SVGPaintContext paintContext(m_layoutSVGImage, paintInfoBeforeFiltering);
|
| if (paintContext.applyClipMaskAndFilterIfNecessary() && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintContext.paintInfo().context, m_layoutSVGImage, paintContext.paintInfo().phase)) {
|
|
|