Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index e58d66919ae56a67e9094005634b7b927e1012f1..7c6dd554ae207d3f9ab6cb7176712db3f8d69930 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -161,14 +161,15 @@ class CONTENT_EXPORT RenderViewImpl |
// |opener_id| will be MSG_ROUTING_NONE. When |swapped_out| is true, the |
// |proxy_routing_id| is specified, so a RenderFrameProxy can be created for |
// this RenderView's main RenderFrame. |
- static RenderViewImpl* Create(const ViewMsg_New_Params& params, |
- CompositorDependencies* compositor_deps, |
+ static RenderViewImpl* Create(CompositorDependencies* compositor_deps, |
+ const ViewMsg_New_Params& params, |
bool was_created_by_renderer); |
// Used by content_layouttest_support to hook into the creation of |
// RenderViewImpls. |
- static void InstallCreateHook( |
- RenderViewImpl* (*create_render_view_impl)(const ViewMsg_New_Params&)); |
+ static void InstallCreateHook(RenderViewImpl* (*create_render_view_impl)( |
+ CompositorDependencies* compositor_deps, |
+ const ViewMsg_New_Params&)); |
// Returns the RenderViewImpl containing the given WebView. |
static RenderViewImpl* FromWebView(blink::WebView* webview); |
@@ -487,10 +488,10 @@ class CONTENT_EXPORT RenderViewImpl |
void DidCompletePageScaleAnimation() override; |
protected: |
- explicit RenderViewImpl(const ViewMsg_New_Params& params); |
+ RenderViewImpl(CompositorDependencies* compositor_deps, |
+ const ViewMsg_New_Params& params); |
void Initialize(const ViewMsg_New_Params& params, |
- CompositorDependencies* compositor_deps, |
bool was_created_by_renderer); |
void SetScreenMetricsEmulationParameters( |
bool enabled, |