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

Unified Diff: Source/core/page/DragData.cpp

Issue 256103007: Remove modules/filesystem/DraggedIsolatedFileSystem.h dependency from core/DEPS. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 months 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
« no previous file with comments | « Source/core/clipboard/DataObject.h ('k') | Source/modules/filesystem/DataTransferItemFileSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/DragData.cpp
diff --git a/Source/core/page/DragData.cpp b/Source/core/page/DragData.cpp
index acebe37d9f5a435a00fdece4b236815af83095db..84157d40da512dfda7dee136f4f38684ff4b92d5 100644
--- a/Source/core/page/DragData.cpp
+++ b/Source/core/page/DragData.cpp
@@ -33,7 +33,6 @@
#include "core/dom/Range.h"
#include "core/editing/markup.h"
#include "core/frame/LocalFrame.h"
-#include "modules/filesystem/DraggedIsolatedFileSystem.h"
#include "platform/FileMetadata.h"
#include "platform/clipboard/ClipboardMimeTypes.h"
#include "platform/weborigin/KURL.h"
@@ -163,10 +162,7 @@ PassRefPtr<DocumentFragment> DragData::asFragment(LocalFrame* frame, PassRefPtrW
String DragData::droppedFileSystemId() const
{
- DraggedIsolatedFileSystem* filesystem = DraggedIsolatedFileSystem::from(m_platformDragData);
- if (!filesystem)
- return String();
- return filesystem->filesystemId();
+ return m_platformDragData->filesystemId();
}
} // namespace WebCore
« no previous file with comments | « Source/core/clipboard/DataObject.h ('k') | Source/modules/filesystem/DataTransferItemFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698