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

Unified Diff: third_party/WebKit/Source/core/paint/SVGFilterPainter.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/SVGFilterPainter.h
diff --git a/third_party/WebKit/Source/core/paint/SVGFilterPainter.h b/third_party/WebKit/Source/core/paint/SVGFilterPainter.h
index ffbdac373404da1915bbce913ceca38c45605635..1d650365b95203ea9b4514aee54ddb79321fb1db 100644
--- a/third_party/WebKit/Source/core/paint/SVGFilterPainter.h
+++ b/third_party/WebKit/Source/core/paint/SVGFilterPainter.h
@@ -8,7 +8,7 @@
#include "platform/graphics/GraphicsContext.h"
#include "platform/graphics/paint/PaintController.h"
#include "wtf/Allocator.h"
-#include <memory>
+#include "wtf/OwnPtr.h"
namespace blink {
@@ -28,8 +28,8 @@ public:
GraphicsContext& paintingContext() const { return m_initialContext; }
private:
- std::unique_ptr<PaintController> m_paintController;
- std::unique_ptr<GraphicsContext> m_context;
+ OwnPtr<PaintController> m_paintController;
+ OwnPtr<GraphicsContext> m_context;
GraphicsContext& m_initialContext;
};

Powered by Google App Engine
This is Rietveld 408576698