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 91b05d151649edf4b5529493a6419ad03f8ccbf0..84226654a22f41ab1dbc45331217926da3b5cc62 100644 |
--- a/chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.cc |
+++ b/chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.cc |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h" |
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
#include "chrome/browser/profiles/profile.h" |
+#include "content/browser/tab_contents/tab_contents.h" |
#include "ui/base/dragdrop/gtk_dnd_util.h" |
WebDragBookmarkHandlerGtk::WebDragBookmarkHandlerGtk() |
@@ -81,7 +82,7 @@ void WebDragBookmarkHandlerGtk::OnDrop() { |
// Focus the target browser. |
Browser* browser = Browser::GetBrowserForController( |
- &tab_->controller(), NULL); |
+ &tab_->tab_contents()->controller(), NULL); |
if (browser) |
browser->window()->Show(); |
} |