summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/qt/ClipboardQt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/qt/ClipboardQt.cpp')
-rw-r--r--WebCore/platform/qt/ClipboardQt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/qt/ClipboardQt.cpp b/WebCore/platform/qt/ClipboardQt.cpp
index b0a1402..1bde10b 100644
--- a/WebCore/platform/qt/ClipboardQt.cpp
+++ b/WebCore/platform/qt/ClipboardQt.cpp
@@ -242,7 +242,7 @@ void ClipboardQt::declareAndWriteDragImage(Element* element, const KURL& url, co
return;
QPixmap *pixmap = cachedImage->image()->nativeImageForCurrentFrame();
if (pixmap)
- m_writableData->setImageData(pixmap);
+ m_writableData->setImageData(*pixmap);
AtomicString imageURL = element->getAttribute(HTMLNames::srcAttr);
if (imageURL.isEmpty())