diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-20 14:14:22 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-20 14:14:22 +0000 |
commit | 0553ad4a468f223fbef619f1ae33d389dad5fc56 (patch) | |
tree | 845cde53c61784bc03aefac08f761c24b218a7d4 /chrome/browser/instant/instant_controller.cc | |
parent | 690ea5cd9d926c8e961f1ff0b5cfd4e8aa79d0f5 (diff) | |
download | chromium_src-0553ad4a468f223fbef619f1ae33d389dad5fc56.zip chromium_src-0553ad4a468f223fbef619f1ae33d389dad5fc56.tar.gz chromium_src-0553ad4a468f223fbef619f1ae33d389dad5fc56.tar.bz2 |
Revert 122753 - Move RenderWidgetHostView into content namespace. Fix include paths.
TBR=pkasting@chromium.org
BUG=98716
Review URL: http://codereview.chromium.org/9420007
TBR=joi@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9355042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122755 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/instant/instant_controller.cc')
-rw-r--r-- | chrome/browser/instant/instant_controller.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc index 114a724..f39ecfa 100644 --- a/chrome/browser/instant/instant_controller.cc +++ b/chrome/browser/instant/instant_controller.cc @@ -26,8 +26,8 @@ #include "chrome/common/chrome_notification_types.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/pref_names.h" +#include "content/browser/renderer_host/render_widget_host_view.h" #include "content/public/browser/notification_service.h" -#include "content/public/browser/render_widget_host_view.h" #include "content/public/browser/web_contents.h" #if defined(TOOLKIT_VIEWS) @@ -313,7 +313,7 @@ void InstantController::OnAutocompleteLostFocus( return; } - content::RenderWidgetHostView* rwhv = + RenderWidgetHostView* rwhv = GetPreviewContents()->web_contents()->GetRenderWidgetHostView(); if (!view_gaining_focus || !rwhv) { DestroyPreviewContents(); |