Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: third_party/WebKit/Source/modules/filesystem/DataTransferItemFileSystem.cpp

Issue 2582463002: Fix webkitGetEntry for non-native files. (Closed)
Patch Set: . Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/filesystem/DataTransferItemFileSystem.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/DataTransferItemFileSystem.cpp b/third_party/WebKit/Source/modules/filesystem/DataTransferItemFileSystem.cpp
index 12aba0f44b438d38eac75d77891869d73982f1ff..46b4feced88b0cc7a0b47e9fc32da549143ba2b8 100644
--- a/third_party/WebKit/Source/modules/filesystem/DataTransferItemFileSystem.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/DataTransferItemFileSystem.cpp
@@ -62,7 +62,8 @@ Entry* DataTransferItemFileSystem::webkitGetAsEntry(
DOMFileSystem* domFileSystem =
DraggedIsolatedFileSystemImpl::getDOMFileSystem(
- item.getDataTransfer()->dataObject(), executionContext);
+ item.getDataTransfer()->dataObject(), executionContext,
+ *item.getDataObjectItem());
if (!domFileSystem) {
// IsolatedFileSystem may not be enabled.
return 0;

Powered by Google App Engine
This is Rietveld 408576698