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 c31ff3a31a2ac627c5907b19684f7476f482d470..5cd58108b24f9f7268bc28c3f8322af1403f385b 100644 |
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp |
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp |
@@ -279,7 +279,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; |