| Index: third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp b/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp
|
| index a98c0c68b53dd86631c88525330b4607847a3406..0bf57810d3397fef157f301a1f9d8119b3f503a9 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp
|
| @@ -9,6 +9,7 @@
|
| #include "core/paint/LayoutObjectDrawingRecorder.h"
|
| #include "platform/graphics/filters/SkiaImageFilterBuilder.h"
|
| #include "platform/graphics/filters/SourceGraphic.h"
|
| +#include "wtf/PtrUtil.h"
|
|
|
| namespace blink {
|
|
|
| @@ -18,7 +19,7 @@ GraphicsContext* SVGFilterRecordingContext::beginContent(FilterData* filterData)
|
|
|
| // Create a new context so the contents of the filter can be drawn and cached.
|
| m_paintController = PaintController::create();
|
| - m_context = adoptPtr(new GraphicsContext(*m_paintController));
|
| + m_context = wrapUnique(new GraphicsContext(*m_paintController));
|
|
|
| filterData->m_state = FilterData::RecordingContent;
|
| return m_context.get();
|
|
|