summaryrefslogtreecommitdiffstats
path: root/webkit/port/platform/chromium/DragImageChromium.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port/platform/chromium/DragImageChromium.cpp')
-rw-r--r--webkit/port/platform/chromium/DragImageChromium.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/port/platform/chromium/DragImageChromium.cpp b/webkit/port/platform/chromium/DragImageChromium.cpp
index e3bc70e..5ec6b97 100644
--- a/webkit/port/platform/chromium/DragImageChromium.cpp
+++ b/webkit/port/platform/chromium/DragImageChromium.cpp
@@ -32,6 +32,8 @@
#if PLATFORM(WIN)
#include <windows.h>
+#else
+#include "NotImplemented.h"
#endif
namespace WebCore {
@@ -54,8 +56,12 @@ IntSize dragImageSize(DragImageRef image)
void deleteDragImage(DragImageRef image)
{
+#if PLATFORM(WIN)
if (image)
::DeleteObject(image);
+#else
+ notImplemented();
+#endif
}
DragImageRef scaleDragImage(DragImageRef image, FloatSize scale)