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 ae8a6a4d8f6794a56f3d2ee4f46b174710529942..d264ad2b99ac9b7ce2837860c1b96b6669ebb4b4 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; |