Index: content/shell/renderer/layout_test/layout_test_content_renderer_client.cc |
diff --git a/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc b/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc |
index 278717ef48d64702c87e36c886958f8f52c931ac..2fa9df9a9b55aeddad2fe02f0f139d4e7372d40d 100644 |
--- a/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc |
+++ b/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc |
@@ -81,7 +81,6 @@ void WebViewTestProxyCreated(RenderView* render_view, |
LayoutTestRenderThreadObserver::GetInstance() |
->test_interfaces() |
->CreateWebWidgetTestClient(proxy); |
- widget_test_client->set_web_view_test_proxy_base(proxy); |
proxy->set_widget_test_client(std::move(widget_test_client)); |
proxy->SetInterfaces(interfaces); |
} |
@@ -100,7 +99,7 @@ void WebWidgetTestProxyCreated(blink::WebWidget* web_widget, |
LayoutTestRenderThreadObserver::GetInstance() |
->test_interfaces() |
->CreateWebWidgetTestClient(proxy); |
- widget_test_client->set_web_view_test_proxy_base(view_proxy); |
+ proxy->set_web_view_test_proxy_base(view_proxy); |
proxy->set_widget_test_client(std::move(widget_test_client)); |
} |