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

Unified Diff: third_party/WebKit/Source/modules/mediacapturefromelement/AutoCanvasDrawListener.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/modules/mediacapturefromelement/AutoCanvasDrawListener.h
diff --git a/third_party/WebKit/Source/modules/mediacapturefromelement/AutoCanvasDrawListener.h b/third_party/WebKit/Source/modules/mediacapturefromelement/AutoCanvasDrawListener.h
index 4a3fdf31d6bcbfee4db79d2ebca535222e044886..2d58d4dd0eddfdc60656de99d344456ee67b39c2 100644
--- a/third_party/WebKit/Source/modules/mediacapturefromelement/AutoCanvasDrawListener.h
+++ b/third_party/WebKit/Source/modules/mediacapturefromelement/AutoCanvasDrawListener.h
@@ -8,18 +8,19 @@
#include "core/html/canvas/CanvasDrawListener.h"
#include "platform/heap/Handle.h"
#include "public/platform/WebCanvasCaptureHandler.h"
+#include <memory>
namespace blink {
class AutoCanvasDrawListener final : public GarbageCollectedFinalized<AutoCanvasDrawListener>, public CanvasDrawListener {
USING_GARBAGE_COLLECTED_MIXIN(AutoCanvasDrawListener);
public:
- static AutoCanvasDrawListener* create(PassOwnPtr<WebCanvasCaptureHandler>);
+ static AutoCanvasDrawListener* create(std::unique_ptr<WebCanvasCaptureHandler>);
~AutoCanvasDrawListener() {}
DEFINE_INLINE_TRACE() {}
private:
- AutoCanvasDrawListener(PassOwnPtr<WebCanvasCaptureHandler>);
+ AutoCanvasDrawListener(std::unique_ptr<WebCanvasCaptureHandler>);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698