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

Unified Diff: chrome/browser/omnibox_search_hint.cc

Issue 11434074: browser: Move FindBrowserWithWebContents() into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
Index: chrome/browser/omnibox_search_hint.cc
diff --git a/chrome/browser/omnibox_search_hint.cc b/chrome/browser/omnibox_search_hint.cc
index 8f42aacddf9cf17f40a988ee859bc8d93a98bb75..72f564291ab81df516c11269472703eb89182440 100644
--- a/chrome/browser/omnibox_search_hint.cc
+++ b/chrome/browser/omnibox_search_hint.cc
@@ -221,7 +221,7 @@ void OmniboxSearchHint::ShowInfoBar() {
}
void OmniboxSearchHint::ShowEnteringQuery() {
- LocationBar* location_bar = browser::FindBrowserWithWebContents(
+ LocationBar* location_bar = chrome::FindBrowserWithWebContents(
web_contents_)->window()->GetLocationBar();
OmniboxView* omnibox_view = location_bar->GetLocationEntry();
location_bar->FocusLocation(true);

Powered by Google App Engine
This is Rietveld 408576698