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

Unified Diff: third_party/WebKit/Source/modules/imagecapture/ImageCapture.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/imagecapture/ImageCapture.h
diff --git a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
index 93c396a255408a575634ccbc41438b1235a70bb1..88662e5a2f4a1cd6f4310a7aefce5bcb1d85bd76 100644
--- a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
+++ b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
@@ -13,6 +13,7 @@
#include "modules/EventTargetModules.h"
#include "modules/ModulesExport.h"
#include "platform/AsyncMethodRunner.h"
+#include <memory>
namespace blink {
@@ -64,7 +65,7 @@ private:
void onServiceConnectionError();
Member<MediaStreamTrack> m_streamTrack;
- OwnPtr<WebImageCaptureFrameGrabber> m_frameGrabber;
+ std::unique_ptr<WebImageCaptureFrameGrabber> m_frameGrabber;
media::mojom::blink::ImageCapturePtr m_service;
HeapHashSet<Member<ScriptPromiseResolver>> m_serviceRequests;

Powered by Google App Engine
This is Rietveld 408576698