Index: chrome/browser/ui/views/tabs/tab_drag_controller.cc |
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
index 273c63f34e1eb8e25f93cad21916350e8187cf79..25a0b71632a630c41b1ed8134225656dfa156844 100644 |
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
@@ -32,6 +32,7 @@ |
#include "content/public/browser/notification_types.h" |
#include "content/public/browser/user_metrics.h" |
#include "content/public/browser/web_contents.h" |
+#include "content/public/browser/web_contents_view.h" |
#include "grit/theme_resources.h" |
#include "ui/base/animation/animation.h" |
#include "ui/base/animation/animation_delegate.h" |
@@ -1849,11 +1850,11 @@ void TabDragController::CreateDraggedView( |
// Set up the photo booth to start capturing the contents of the dragged |
// WebContents. |
- NativeViewPhotobooth* photobooth = |
- NativeViewPhotobooth::Create(source_dragged_contents()->GetNativeView()); |
+ NativeViewPhotobooth* photobooth = NativeViewPhotobooth::Create( |
+ source_dragged_contents()->GetView()->GetNativeView()); |
gfx::Rect content_bounds; |
- source_dragged_contents()->GetContainerBounds(&content_bounds); |
+ source_dragged_contents()->GetView()->GetContainerBounds(&content_bounds); |
std::vector<views::View*> renderers; |
for (size_t i = 0; i < drag_data_.size(); ++i) { |