Index: content/test/render_view_test.cc |
diff --git a/content/test/render_view_test.cc b/content/test/render_view_test.cc |
index 6ae13fcda22491ca93d5d4825c5bb8f30b4b80eb..01ac482ccfd1b9f764a6bdc6fffb3f25e8daa271 100644 |
--- a/content/test/render_view_test.cc |
+++ b/content/test/render_view_test.cc |
@@ -46,6 +46,7 @@ using WebKit::WebURLRequest; |
namespace { |
const int32 kOpenerId = 7; |
const int32 kRouteId = 5; |
+const int32 kSurfaceId = 42; |
#if defined(USE_AURA) && defined(USE_X11) |
// Converts MockKeyboard::Modifiers to ui::EventFlags. |
@@ -130,6 +131,7 @@ void RenderViewTest::SetUp() { |
if (!render_thread_.get()) |
render_thread_.reset(new MockRenderThread()); |
render_thread_->set_routing_id(kRouteId); |
+ render_thread_->set_surface_id(kSurfaceId); |
command_line_.reset(new CommandLine(CommandLine::NO_PROGRAM)); |
params_.reset(new content::MainFunctionParams(*command_line_)); |
@@ -151,6 +153,7 @@ void RenderViewTest::SetUp() { |
WebPreferences(), |
new SharedRenderViewCounter(0), |
kRouteId, |
+ kSurfaceId, |
kInvalidSessionStorageNamespaceId, |
string16(), |
1); |