Index: chrome/browser/tab_contents/web_drag_bookmark_handler_mac.mm |
diff --git a/chrome/browser/tab_contents/web_drag_bookmark_handler_mac.mm b/chrome/browser/tab_contents/web_drag_bookmark_handler_mac.mm |
index 91f461b61e579c8a484982d04a544b2624170b94..e0ed038a8cbb645ef3a92de45dfa92f166f8b447 100644 |
--- a/chrome/browser/tab_contents/web_drag_bookmark_handler_mac.mm |
+++ b/chrome/browser/tab_contents/web_drag_bookmark_handler_mac.mm |
@@ -1,10 +1,11 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
#include "chrome/browser/tab_contents/web_drag_bookmark_handler_mac.h" |
#include "chrome/browser/ui/browser.h" |
+#include "chrome/browser/ui/browser_finder.h" |
#include "chrome/browser/ui/browser_window.h" |
#include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h" |
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
@@ -50,7 +51,7 @@ void WebDragBookmarkHandlerMac::OnDrop() { |
} |
// Focus the target browser. |
- Browser* browser = Browser::GetBrowserForController( |
+ Browser* browser = browser::FindBrowserForController( |
&tab_->web_contents()->GetController(), NULL); |
if (browser) |
browser->window()->Show(); |