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

Unified Diff: Source/WebKit/chromium/src/WebDragData.cpp

Issue 13497009: Remove ENABLE(FILE_SYSTEM) compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: added CodeGeneratorInspector.py change Created 7 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
Index: Source/WebKit/chromium/src/WebDragData.cpp
diff --git a/Source/WebKit/chromium/src/WebDragData.cpp b/Source/WebKit/chromium/src/WebDragData.cpp
index 33dd72e925a35b3319ac40a039577ad2c6fbb7da..f88308b4f6109441eb1e2656f68b4835a554fde9 100644
--- a/Source/WebKit/chromium/src/WebDragData.cpp
+++ b/Source/WebKit/chromium/src/WebDragData.cpp
@@ -131,22 +131,18 @@ void WebDragData::addItem(const Item& item)
WebString WebDragData::filesystemId() const
{
-#if ENABLE(FILE_SYSTEM)
ASSERT(!isNull());
DraggedIsolatedFileSystem* filesystem = DraggedIsolatedFileSystem::from(m_private);
if (filesystem)
return filesystem->filesystemId();
-#endif
return WebString();
}
void WebDragData::setFilesystemId(const WebString& filesystemId)
{
-#if ENABLE(FILE_SYSTEM)
// The ID is an opaque string, given by and validated by chromium port.
ensureMutable();
DraggedIsolatedFileSystem::provideTo(m_private, DraggedIsolatedFileSystem::supplementName(), DraggedIsolatedFileSystem::create(filesystemId));
-#endif
}
WebDragData::WebDragData(const WTF::PassRefPtr<WebCore::ChromiumDataObject>& data)
« no previous file with comments | « Source/WebKit/chromium/src/LocalFileSystemChromium.cpp ('k') | Source/WebKit/chromium/src/WebFileSystemCallbacksImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698