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

Unified Diff: chrome/browser/managed_mode/managed_mode_navigation_observer.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
« no previous file with comments | « chrome/browser/history/history_tab_helper.cc ('k') | chrome/browser/omnibox_search_hint.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/managed_mode/managed_mode_navigation_observer.cc
diff --git a/chrome/browser/managed_mode/managed_mode_navigation_observer.cc b/chrome/browser/managed_mode/managed_mode_navigation_observer.cc
index 868f332d42d748d89d13b04c6620f79891aa26b1..a2076d558807279523410be717981500b665e147 100644
--- a/chrome/browser/managed_mode/managed_mode_navigation_observer.cc
+++ b/chrome/browser/managed_mode/managed_mode_navigation_observer.cc
@@ -57,7 +57,7 @@ void GoBackToSafety(content::WebContents* web_contents) {
// If this is the last tab, open a new window.
if (BrowserList::size() == 1) {
Browser* browser = *(BrowserList::begin());
- DCHECK(browser == browser::FindBrowserWithWebContents(web_contents));
+ DCHECK(browser == chrome::FindBrowserWithWebContents(web_contents));
if (browser->tab_count() == 1)
chrome::NewEmptyWindow(browser->profile());
}
« no previous file with comments | « chrome/browser/history/history_tab_helper.cc ('k') | chrome/browser/omnibox_search_hint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698