Index: content/browser/media/capture/content_video_capture_device_core.cc |
diff --git a/content/browser/media/capture/content_video_capture_device_core.cc b/content/browser/media/capture/content_video_capture_device_core.cc |
index 7c0319997f852a29264ae8c62fd91a2644e23065..051aec103485388a28bfb905e14e0c96d87848c4 100644 |
--- a/content/browser/media/capture/content_video_capture_device_core.cc |
+++ b/content/browser/media/capture/content_video_capture_device_core.cc |
@@ -118,15 +118,13 @@ bool ThreadSafeCaptureOracle::ObserveEventAndDecideCapture( |
// NATIVE_TEXTURE frames wrap a texture mailbox, which we don't have at the |
// moment. We do not construct those frames. |
if (params_.requested_format.pixel_format != media::PIXEL_FORMAT_TEXTURE) { |
- *storage = media::VideoFrame::WrapExternalPackedMemory( |
+ *storage = media::VideoFrame::WrapExternalData( |
media::VideoFrame::I420, |
coded_size, |
gfx::Rect(visible_size), |
visible_size, |
static_cast<uint8*>(output_buffer->data()), |
output_buffer->size(), |
- base::SharedMemory::NULLHandle(), |
- 0, |
base::TimeDelta()); |
DCHECK(*storage); |
} |