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

Unified Diff: android_webview/browser/renderer_host/aw_render_view_host_ext.cc

Issue 1622913002: aw: Fix setting background color (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/renderer_host/aw_render_view_host_ext.cc
diff --git a/android_webview/browser/renderer_host/aw_render_view_host_ext.cc b/android_webview/browser/renderer_host/aw_render_view_host_ext.cc
index 6e227288ccae27c6028e0b0bb89223b7d8ec9f21..090541d7c044eee6cba7cac6f4696b8bdcdd1331 100644
--- a/android_webview/browser/renderer_host/aw_render_view_host_ext.cc
+++ b/android_webview/browser/renderer_host/aw_render_view_host_ext.cc
@@ -120,8 +120,8 @@ void AwRenderViewHostExt::SmoothScroll(int target_x,
void AwRenderViewHostExt::RenderViewCreated(
content::RenderViewHost* render_view_host) {
- Send(new AwViewMsg_SetBackgroundColor(web_contents()->GetRoutingID(),
- background_color_));
+ Send(new AwViewMsg_SetBackgroundColor(
+ web_contents()->GetMainFrame()->GetRoutingID(), background_color_));
}
void AwRenderViewHostExt::RenderProcessGone(base::TerminationStatus status) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698