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..b493dde83d2fca7ac3e595d0b44747a15d0f7f9d 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGPaintContext.h |
+++ b/third_party/WebKit/Source/core/paint/SVGPaintContext.h |
@@ -33,6 +33,7 @@ |
#include "platform/graphics/paint/ClipPathRecorder.h" |
#include "platform/graphics/paint/CompositingRecorder.h" |
#include "platform/transforms/AffineTransform.h" |
+#include <memory> |
namespace blink { |
@@ -85,14 +86,14 @@ private: |
const LayoutObject& m_object; |
PaintInfo m_paintInfo; |
- OwnPtr<PaintInfo> m_filterPaintInfo; |
+ std::unique_ptr<PaintInfo> m_filterPaintInfo; |
LayoutSVGResourceFilter* m_filter; |
LayoutSVGResourceClipper* m_clipper; |
SVGClipPainter::ClipperState m_clipperState; |
LayoutSVGResourceMasker* m_masker; |
- OwnPtr<CompositingRecorder> m_compositingRecorder; |
- OwnPtr<ClipPathRecorder> m_clipPathRecorder; |
- OwnPtr<SVGFilterRecordingContext> m_filterRecordingContext; |
+ std::unique_ptr<CompositingRecorder> m_compositingRecorder; |
+ std::unique_ptr<ClipPathRecorder> m_clipPathRecorder; |
+ std::unique_ptr<SVGFilterRecordingContext> m_filterRecordingContext; |
#if ENABLE(ASSERT) |
bool m_applyClipMaskAndFilterIfNecessaryCalled; |
#endif |