Index: content/browser/web_contents/web_contents_view_aura.cc |
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc |
index cff51f58318d8e337de2785b473d86d9068e52ef..846f9c89505245c605ad66720b5bec2bcbc394da 100644 |
--- a/content/browser/web_contents/web_contents_view_aura.cc |
+++ b/content/browser/web_contents/web_contents_view_aura.cc |
@@ -60,6 +60,7 @@ |
#include "ui/base/dragdrop/drag_utils.h" |
#include "ui/base/dragdrop/drop_target_event.h" |
#include "ui/base/dragdrop/os_exchange_data.h" |
+#include "ui/base/dragdrop/os_exchange_data_provider_factory.h" |
#include "ui/base/hit_test.h" |
#include "ui/compositor/layer.h" |
#include "ui/display/screen.h" |
@@ -833,7 +834,8 @@ void WebContentsViewAura::StartDragging( |
ui::TouchSelectionController* selection_controller = GetSelectionController(); |
if (selection_controller) |
selection_controller->HideAndDisallowShowingAutomatically(); |
- ui::OSExchangeData::Provider* provider = ui::OSExchangeData::CreateProvider(); |
+ ui::OSExchangeData::Provider* provider = |
+ ui::OSExchangeDataProviderFactory::CreateProvider(); |
PrepareDragData(drop_data, provider, web_contents_); |
ui::OSExchangeData data(provider); // takes ownership of |provider|. |