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

Unified Diff: content/browser/media/capture/web_contents_video_capture_device_unittest.cc

Issue 2849633002: Get rid of base::SharedMemory::NULLHandle(); (Closed)
Patch Set: Rebase. Created 3 years, 8 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: content/browser/media/capture/web_contents_video_capture_device_unittest.cc
diff --git a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
index 1983a836d3a56cf4fd37d0723b190e40c33048b8..0e176386b86addb7791511f6307d425cc783b767 100644
--- a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
+++ b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
@@ -300,7 +300,7 @@ class StubClient : public media::VideoCaptureDevice::Client {
VideoFrame::WrapExternalSharedMemory(
media::PIXEL_FORMAT_I420, format.frame_size, visible_rect,
format.frame_size, buffer_access->data(),
- buffer_access->mapped_size(), base::SharedMemory::NULLHandle(), 0u,
+ buffer_access->mapped_size(), base::SharedMemoryHandle(), 0u,
base::TimeDelta());
const gfx::Point center = visible_rect.CenterPoint();
const int center_offset_y =
« no previous file with comments | « components/nacl/renderer/nexe_load_manager.cc ('k') | content/browser/renderer_host/clipboard_message_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698