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 |