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

Unified Diff: chrome/browser/ui/cocoa/constrained_window_mac.mm

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/ui/cocoa/constrained_window_mac.mm
diff --git a/chrome/browser/ui/cocoa/constrained_window_mac.mm b/chrome/browser/ui/cocoa/constrained_window_mac.mm
index 4de3e34e3241456e28e715af16c58aa04bc3b9c8..00dd591e7dc1ebd08f1de8bb76600f51213b746b 100644
--- a/chrome/browser/ui/cocoa/constrained_window_mac.mm
+++ b/chrome/browser/ui/cocoa/constrained_window_mac.mm
@@ -145,7 +145,7 @@ void ConstrainedWindowMac::CloseConstrainedWindow() {
}
bool ConstrainedWindowMac::CanShowConstrainedWindow() {
- Browser* browser = browser::FindBrowserWithWebContents(web_contents_);
+ Browser* browser = chrome::FindBrowserWithWebContents(web_contents_);
if (!browser)
return true;
return !browser->window()->IsInstantTabShowing();

Powered by Google App Engine
This is Rietveld 408576698