Index: content/public/test/mock_render_thread.cc |
diff --git a/content/public/test/mock_render_thread.cc b/content/public/test/mock_render_thread.cc |
index c6807600abf4d9aeca089c70defc3dd6a0bc7ed5..0de0ce6385601408c499060548956c2cb0cb12c5 100644 |
--- a/content/public/test/mock_render_thread.cc |
+++ b/content/public/test/mock_render_thread.cc |
@@ -14,7 +14,11 @@ |
namespace content { |
MockRenderThread::MockRenderThread() |
- : routing_id_(0), surface_id_(0), opener_id_(0), new_window_routing_id_(0) { |
+ : routing_id_(0), |
+ surface_id_(0), |
+ opener_id_(0), |
+ new_window_routing_id_(0), |
+ new_window_main_frame_routing_id_(0) { |
} |
MockRenderThread::~MockRenderThread() { |
@@ -208,9 +212,11 @@ void MockRenderThread::OnCreateWidget(int opener_id, |
void MockRenderThread::OnCreateWindow( |
const ViewHostMsg_CreateWindow_Params& params, |
int* route_id, |
+ int* main_frame_route_id, |
int* surface_id, |
int64* cloned_session_storage_namespace_id) { |
*route_id = new_window_routing_id_; |
+ *main_frame_route_id = new_window_main_frame_routing_id_; |
*surface_id = surface_id_; |
*cloned_session_storage_namespace_id = 0; |
} |