| Index: chrome/browser/tab_contents/web_drag_bookmark_handler_win.cc
|
| diff --git a/chrome/browser/tab_contents/web_drag_bookmark_handler_win.cc b/chrome/browser/tab_contents/web_drag_bookmark_handler_win.cc
|
| index c74452cb040d7982636e75ce26e232583e62b0f8..fab2241c6b6997a0dac3d21fb904d172a2918799 100644
|
| --- a/chrome/browser/tab_contents/web_drag_bookmark_handler_win.cc
|
| +++ b/chrome/browser/tab_contents/web_drag_bookmark_handler_win.cc
|
| @@ -1,4 +1,4 @@
|
| -// 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.
|
|
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "chrome/browser/bookmarks/bookmark_node_data.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"
|
| @@ -74,7 +75,7 @@ void WebDragBookmarkHandlerWin::OnDrop(IDataObject* data_object) {
|
| }
|
|
|
| // Focus the target browser.
|
| - Browser* browser = Browser::GetBrowserForController(
|
| + Browser* browser = browser::FindBrowserForController(
|
| &tab_->web_contents()->GetController(), NULL);
|
| if (browser)
|
| browser->window()->Show();
|
|
|