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

Unified Diff: content/browser/renderer_host/media/video_capture_manager_unittest.cc

Issue 2410383002: VideoCapture: more migration IPC-->mojo, part 6 (Closed)
Patch Set: Comment correction Created 4 years, 2 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/renderer_host/media/video_capture_manager_unittest.cc
diff --git a/content/browser/renderer_host/media/video_capture_manager_unittest.cc b/content/browser/renderer_host/media/video_capture_manager_unittest.cc
index 2672608ab7f994f8071efaedfa5b970366e4be60..945cec8bdcf76cc3fcaafc2bdee97b097fb352ca 100644
--- a/content/browser/renderer_host/media/video_capture_manager_unittest.cc
+++ b/content/browser/renderer_host/media/video_capture_manager_unittest.cc
@@ -138,7 +138,7 @@ class MockFrameObserver : public VideoCaptureControllerEventHandler {
MOCK_METHOD1(OnError, void(VideoCaptureControllerID id));
void OnBufferCreated(VideoCaptureControllerID id,
- base::SharedMemoryHandle handle,
+ mojo::ScopedSharedBufferHandle handle,
int length, int buffer_id) override {}
void OnBufferDestroyed(VideoCaptureControllerID id, int buffer_id) override {}
void OnBufferReady(VideoCaptureControllerID id,
@@ -219,7 +219,6 @@ class VideoCaptureManagerTest : public testing::Test {
vcm_->StartCaptureForClient(
session_id,
params,
- base::kNullProcessHandle,
client_id,
frame_observer_.get(),
base::Bind(&VideoCaptureManagerTest::OnGotControllerCallback,

Powered by Google App Engine
This is Rietveld 408576698