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

Unified Diff: content/shell/renderer/layout_test/layout_test_content_renderer_client.cc

Issue 1908183002: Use correct WebView from TestRunner methods called via testRunner bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@accessibility-controller-per-view
Patch Set: Explicit constructor for TestRunnerForSpecificView. Created 4 years, 8 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
« no previous file with comments | « components/test_runner/web_view_test_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 37be75ada95ded81835c78622b20285ae6bf7869..9e60e094a598becd849c36556a23726f7354eea3 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
@@ -103,6 +103,7 @@ void LayoutTestContentRendererClient::RenderViewCreated(
test_runner::WebTestProxyBase* proxy = GetWebTestProxyBase(render_view);
proxy->set_web_widget(render_view->GetWebView());
proxy->set_web_view(render_view->GetWebView());
+ proxy->Reset();
proxy->SetSendWheelGestures(UseGestureBasedWheelScrolling());
BlinkTestRunner* test_runner = BlinkTestRunner::Get(render_view);
« no previous file with comments | « components/test_runner/web_view_test_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698