diff options
author | avi <avi@chromium.org> | 2015-10-27 06:45:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-27 13:46:00 +0000 |
commit | df38c95ae1ae5677cc9ed6f98872c45210109b5d (patch) | |
tree | 25c4f4452e1cb4dfc8d9c94fd2acfecc582ef217 /android_webview/native | |
parent | 9c3cc3ee55271f5f5425e315c2e332dc05235668 (diff) | |
download | chromium_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.cc | 2 |
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 = |