summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/src/DragClientImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/src/DragClientImpl.cpp')
-rw-r--r--Source/WebKit/chromium/src/DragClientImpl.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/WebKit/chromium/src/DragClientImpl.cpp b/Source/WebKit/chromium/src/DragClientImpl.cpp
index f4b9e160d..afa570611 100644
--- a/Source/WebKit/chromium/src/DragClientImpl.cpp
+++ b/Source/WebKit/chromium/src/DragClientImpl.cpp
@@ -36,11 +36,12 @@
#include "Frame.h"
#include "NativeImageSkia.h"
#include "platform/WebCommon.h"
-#include "platform/WebDragData.h"
#include "platform/WebImage.h"
#include "WebViewClient.h"
#include "WebViewImpl.h"
+#include <public/WebDragData.h>
+
using namespace WebCore;
namespace WebKit {
@@ -88,11 +89,7 @@ void DragClientImpl::startDrag(DragImageRef dragImage,
WebPoint offsetPoint(offsetSize.width(), offsetSize.height());
m_webView->startDragging(
dragData, static_cast<WebDragOperationsMask>(dragOperationMask),
-#if WEBKIT_USING_SKIA
dragImage ? WebImage(*dragImage) : WebImage(),
-#else
- dragImage ? WebImage(dragImage) : WebImage(),
-#endif
offsetPoint);
}