Index: third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp |
diff --git a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp |
index c3fcaab468af77c205db6abef068653f878633dd..083e5955c86a1d71a6d73569ee885e239cba9431 100644 |
--- a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp |
+++ b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp |
@@ -225,7 +225,8 @@ |
// Create |m_frameGrabber| the first time. |
if (!frame_grabber_) { |
- frame_grabber_ = Platform::Current()->CreateImageCaptureFrameGrabber(); |
+ frame_grabber_ = |
+ WTF::WrapUnique(Platform::Current()->CreateImageCaptureFrameGrabber()); |
} |
if (!frame_grabber_) { |