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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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/html/canvas/CanvasDrawListener.h
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h b/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h
index b03a04d211830e54efba7e4f3d02429abdb19897..e0a654dbbe1491f475f5a180fe7ed6f9ab780552 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h
@@ -9,6 +9,7 @@
#include "platform/heap/Handle.h"
#include "public/platform/WebCanvasCaptureHandler.h"
#include "wtf/PassRefPtr.h"
+#include <memory>
class SkImage;
@@ -22,10 +23,10 @@ public:
void requestFrame();
protected:
- explicit CanvasDrawListener(PassOwnPtr<WebCanvasCaptureHandler>);
+ explicit CanvasDrawListener(std::unique_ptr<WebCanvasCaptureHandler>);
bool m_frameCaptureRequested;
- OwnPtr<WebCanvasCaptureHandler> m_handler;
+ std::unique_ptr<WebCanvasCaptureHandler> m_handler;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698