Chromium Code Reviews

Unified Diff: Source/web/WebDragData.cpp

Issue 176853004: Oilpan: move core/fileapi to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + remove obstructing DOMFormData::trace() Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/web/WebDragData.cpp
diff --git a/Source/web/WebDragData.cpp b/Source/web/WebDragData.cpp
index 155e7f1720601d6b04f7e722e5d76cbcde04adcf..84f50a3b748ec6b9a65ef4871b7575a66ac69659 100644
--- a/Source/web/WebDragData.cpp
+++ b/Source/web/WebDragData.cpp
@@ -99,7 +99,7 @@ WebVector<WebDragData::Item> WebDragData::items() const
item.binaryData = originalItem->sharedBuffer();
} else if (originalItem->isFilename()) {
item.storageType = Item::StorageTypeFilename;
- RefPtr<WebCore::Blob> blob = originalItem->getAsFile();
+ RefPtrWillBeRawPtr<WebCore::Blob> blob = originalItem->getAsFile();
if (blob->isFile()) {
File* file = toFile(blob.get());
item.filenameData = file->path();

Powered by Google App Engine