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

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

Issue 1918183004: Switch the inheritance of WebView from WebWidget to protected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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
Index: content/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index 81a61a3134effd307db630486b4f11228cf339b0..29711cc976c52c944eb891deae45b9f53451af95 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -834,7 +834,11 @@ void BlinkTestRunner::CaptureDumpContinued() {
// Force a layout/paint by the end of the test to ensure test coverage of
// incremental painting.
test_runner::LayoutAndPaintAsyncThen(
- render_view()->GetWebView(),
+ render_view()
+ ->GetWebView()
+ ->mainFrame()
+ ->toWebLocalFrame()
+ ->frameWidget(),
base::Bind(&BlinkTestRunner::CaptureDumpComplete,
base::Unretained(this)));
#else
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/shell/renderer/layout_test/layout_test_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698