Index: third_party/WebKit/Source/core/clipboard/DataTransfer.cpp |
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp b/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp |
index 4beaad34b3f3524c2a04c12de36da84e331b6c2c..fe939c3c07d5a7c968b8c27858819a8eabd6546d 100644 |
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp |
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp |
@@ -280,7 +280,7 @@ static void writeImageToDataObject(DataObject* dataObject, Element* element, con |
if (!cachedImage || !cachedImage->getImage() || !cachedImage->isLoaded()) |
return; |
- SharedBuffer* imageBuffer = cachedImage->getImage()->data(); |
+ RefPtr<SharedBuffer> imageBuffer = cachedImage->getImage()->data(); |
if (!imageBuffer || !imageBuffer->size()) |
return; |