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

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

Issue 1359163005: Remove surface_id from RenderWidget/RenderWidgetHost and friends (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@channel_creation_preempt
Patch Set: fix more tests Created 5 years, 3 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 d0c7a8859b48c260d65e60594013822826f50013..ec80ea0791379d5397f4f30717c9a9ed60c27ce9 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
@@ -248,7 +248,6 @@ class CaptureTestRenderViewHost : public TestRenderViewHost {
RenderViewHostDelegate* delegate,
RenderWidgetHostDelegate* widget_delegate,
int32 routing_id,
- int32 surface_id,
int32 main_frame_routing_id,
bool swapped_out,
CaptureTestSourceController* controller)
@@ -256,7 +255,6 @@ class CaptureTestRenderViewHost : public TestRenderViewHost {
delegate,
widget_delegate,
routing_id,
- surface_id,
main_frame_routing_id,
swapped_out),
controller_(controller) {
@@ -313,12 +311,11 @@ class CaptureTestRenderViewHostFactory : public RenderViewHostFactory {
RenderViewHostDelegate* delegate,
RenderWidgetHostDelegate* widget_delegate,
int32 routing_id,
- int32 surface_id,
int32 main_frame_routing_id,
bool swapped_out) override {
- return new CaptureTestRenderViewHost(
- instance, delegate, widget_delegate, routing_id, surface_id,
- main_frame_routing_id, swapped_out, controller_);
+ return new CaptureTestRenderViewHost(instance, delegate, widget_delegate,
+ routing_id, main_frame_routing_id,
+ swapped_out, controller_);
}
private:
CaptureTestSourceController* controller_;
« no previous file with comments | « content/browser/gpu/gpu_surface_tracker.cc ('k') | content/browser/renderer_host/media/video_capture_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698