Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(755)

Unified Diff: third_party/WebKit/Source/core/paint/SVGPaintContext.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b493dde83d2fca7ac3e595d0b44747a15d0f7f9d..d8f1a18e34726f37b63c6934cc496a714e4ae099 100644
--- a/third_party/WebKit/Source/core/paint/SVGPaintContext.h
+++ b/third_party/WebKit/Source/core/paint/SVGPaintContext.h
@@ -33,7 +33,6 @@
#include "platform/graphics/paint/ClipPathRecorder.h"
#include "platform/graphics/paint/CompositingRecorder.h"
#include "platform/transforms/AffineTransform.h"
-#include <memory>
namespace blink {
@@ -86,14 +85,14 @@ private:
const LayoutObject& m_object;
PaintInfo m_paintInfo;
- std::unique_ptr<PaintInfo> m_filterPaintInfo;
+ OwnPtr<PaintInfo> m_filterPaintInfo;
LayoutSVGResourceFilter* m_filter;
LayoutSVGResourceClipper* m_clipper;
SVGClipPainter::ClipperState m_clipperState;
LayoutSVGResourceMasker* m_masker;
- std::unique_ptr<CompositingRecorder> m_compositingRecorder;
- std::unique_ptr<ClipPathRecorder> m_clipPathRecorder;
- std::unique_ptr<SVGFilterRecordingContext> m_filterRecordingContext;
+ OwnPtr<CompositingRecorder> m_compositingRecorder;
+ OwnPtr<ClipPathRecorder> m_clipPathRecorder;
+ OwnPtr<SVGFilterRecordingContext> m_filterRecordingContext;
#if ENABLE(ASSERT)
bool m_applyClipMaskAndFilterIfNecessaryCalled;
#endif

Powered by Google App Engine
This is Rietveld 408576698