| Index: chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.cc
|
| diff --git a/chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.cc b/chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.cc
|
| index c80bb069eff67782fd83f7e1f38bf24d48318695..8f075c461024679a405aa8b4b5c64cfcc8ce0c46 100644
|
| --- a/chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.cc
|
| +++ b/chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.cc
|
| @@ -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_gtk.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/gtk/bookmarks/bookmark_utils_gtk.h"
|
| #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
|
| @@ -83,7 +84,7 @@ void WebDragBookmarkHandlerGtk::OnDrop() {
|
| }
|
|
|
| // Focus the target browser.
|
| - Browser* browser = Browser::GetBrowserForController(
|
| + Browser* browser = browser::FindBrowserForController(
|
| &tab_->web_contents()->GetController(), NULL);
|
| if (browser)
|
| browser->window()->Show();
|
|
|