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

Unified Diff: Source/WebCore/fileapi/WebKitBlobBuilder.cpp

Issue 13497009: Remove ENABLE(FILE_SYSTEM) compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/WebCore/fileapi/WebKitBlobBuilder.cpp
diff --git a/Source/WebCore/fileapi/WebKitBlobBuilder.cpp b/Source/WebCore/fileapi/WebKitBlobBuilder.cpp
index 4fdf56b210dc5e7dabbe520ddc119ac01b8c4ad6..f42c1381d5592be495b671393b48747ef5c24608 100644
--- a/Source/WebCore/fileapi/WebKitBlobBuilder.cpp
+++ b/Source/WebCore/fileapi/WebKitBlobBuilder.cpp
@@ -122,12 +122,10 @@ void BlobBuilder::append(Blob* blob)
file->captureSnapshot(snapshotSize, snapshotModificationTime);
m_size += snapshotSize;
-#if ENABLE(FILE_SYSTEM)
if (!file->fileSystemURL().isEmpty())
m_items.append(BlobDataItem(file->fileSystemURL(), 0, snapshotSize, snapshotModificationTime));
else
-#endif
- m_items.append(BlobDataItem(file->path(), 0, snapshotSize, snapshotModificationTime));
+ m_items.append(BlobDataItem(file->path(), 0, snapshotSize, snapshotModificationTime));
} else {
long long blobSize = static_cast<long long>(blob->size());
m_size += blobSize;

Powered by Google App Engine
This is Rietveld 408576698