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

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

Powered by Google App Engine
This is Rietveld 408576698