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 /extensions/shell | |
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 'extensions/shell')
-rw-r--r-- | extensions/shell/browser/shell_speech_recognition_manager_delegate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/shell/browser/shell_speech_recognition_manager_delegate.cc b/extensions/shell/browser/shell_speech_recognition_manager_delegate.cc index 9fc2f65..c4ce068c 100644 --- a/extensions/shell/browser/shell_speech_recognition_manager_delegate.cc +++ b/extensions/shell/browser/shell_speech_recognition_manager_delegate.cc @@ -105,7 +105,7 @@ void ShellSpeechRecognitionManagerDelegate::CheckRenderViewType( int render_process_id, int render_view_id) { DCHECK_CURRENTLY_ON(BrowserThread::UI); - const content::RenderViewHost* render_view_host = + content::RenderViewHost* render_view_host = content::RenderViewHost::FromID(render_process_id, render_view_id); bool allowed = false; bool check_permission = false; |