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

Unified Diff: Source/web/WebDragData.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/modules/filesystem/DraggedIsolatedFileSystem.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDragData.cpp
diff --git a/Source/web/WebDragData.cpp b/Source/web/WebDragData.cpp
index c196d0a04b6e8454be629f5355cbec846afb77ae..899d0a51dcc913b2aaa676070e7e3ddae0db016a 100644
--- a/Source/web/WebDragData.cpp
+++ b/Source/web/WebDragData.cpp
@@ -164,17 +164,14 @@ void WebDragData::addItem(const Item& item)
WebString WebDragData::filesystemId() const
{
ASSERT(!isNull());
- DraggedIsolatedFileSystem* filesystem = DraggedIsolatedFileSystem::from(m_private.get());
- if (filesystem)
- return filesystem->filesystemId();
- return WebString();
+ return m_private.get()->filesystemId();
}
void WebDragData::setFilesystemId(const WebString& filesystemId)
{
// The ID is an opaque string, given by and validated by chromium port.
ensureMutable();
- DraggedIsolatedFileSystem::provideTo(*m_private.get(), DraggedIsolatedFileSystem::supplementName(), DraggedIsolatedFileSystem::create(filesystemId));
+ DraggedIsolatedFileSystem::provideTo(*m_private.get(), DraggedIsolatedFileSystem::supplementName(), DraggedIsolatedFileSystem::create(*m_private.get(), filesystemId));
}
} // namespace blink
« no previous file with comments | « Source/modules/filesystem/DraggedIsolatedFileSystem.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698