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 ba70929c487e4192ad1215b17d8c4182862cd3e5..0baaac087411a79d39cbfeef862ae44866565bce 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_) { |