summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/DragImage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/DragImage.cpp')
-rw-r--r--WebCore/platform/DragImage.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/WebCore/platform/DragImage.cpp b/WebCore/platform/DragImage.cpp
index adf9a57..aff4aba 100644
--- a/WebCore/platform/DragImage.cpp
+++ b/WebCore/platform/DragImage.cpp
@@ -25,6 +25,8 @@
#include "config.h"
#include "DragImage.h"
+
+#if ENABLE(DRAG_SUPPORT)
#include "DragController.h"
#include "Frame.h"
@@ -71,4 +73,6 @@ DragImageRef createDragImageForSelection(Frame* frame)
return image;
}
-}
+} // namespace WebCore
+
+#endif // ENABLE(DRAG_SUPPORT)