summaryrefslogtreecommitdiffstats
path: root/android_webview/native
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2015-10-27 06:45:13 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-27 13:46:00 +0000
commitdf38c95ae1ae5677cc9ed6f98872c45210109b5d (patch)
tree25c4f4452e1cb4dfc8d9c94fd2acfecc582ef217 /android_webview/native
parent9c3cc3ee55271f5f5425e315c2e332dc05235668 (diff)
downloadchromium_src-df38c95ae1ae5677cc9ed6f98872c45210109b5d.zip
chromium_src-df38c95ae1ae5677cc9ed6f98872c45210109b5d.tar.gz
chromium_src-df38c95ae1ae5677cc9ed6f98872c45210109b5d.tar.bz2
Separate RenderViewHost from RenderWidgetHost, part 4: delegate
This makes a delegate interface between the RenderViewHost and the RenderWidgetHost, which will eventually be used for their communication. This also allows the removal of the horrible terrible no-good RenderWidgetHost::IsRenderView(). BUG=542477 TEST=all green Review URL: https://codereview.chromium.org/1411203010 Cr-Commit-Position: refs/heads/master@{#356286}
Diffstat (limited to 'android_webview/native')
-rw-r--r--android_webview/native/aw_contents.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index 8065d2c..6a46d1d 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -153,7 +153,7 @@ AwContents* AwContents::FromWebContents(WebContents* web_contents) {
// static
AwContents* AwContents::FromID(int render_process_id, int render_view_id) {
- const content::RenderViewHost* rvh =
+ content::RenderViewHost* rvh =
content::RenderViewHost::FromID(render_process_id, render_view_id);
if (!rvh) return NULL;
content::WebContents* web_contents =