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

Unified Diff: Source/WebCore/fileapi/Blob.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
« no previous file with comments | « Source/WebCore/dom/EventTargetFactory.in ('k') | Source/WebCore/fileapi/File.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/fileapi/Blob.cpp
diff --git a/Source/WebCore/fileapi/Blob.cpp b/Source/WebCore/fileapi/Blob.cpp
index 291a227298a767eeadaaf9fea6c09b6cd4ef21cf..dafc90a642210ba5d0d9bfc99fbddbcc011fafef 100644
--- a/Source/WebCore/fileapi/Blob.cpp
+++ b/Source/WebCore/fileapi/Blob.cpp
@@ -124,12 +124,10 @@ PassRefPtr<Blob> Blob::slice(long long start, long long end, const String& conte
OwnPtr<BlobData> blobData = BlobData::create();
blobData->setContentType(contentType);
if (isFile()) {
-#if ENABLE(FILE_SYSTEM)
if (!toFile(this)->fileSystemURL().isEmpty())
blobData->appendURL(toFile(this)->fileSystemURL(), start, length, modificationTime);
else
-#endif
- blobData->appendFile(toFile(this)->path(), start, length, modificationTime);
+ blobData->appendFile(toFile(this)->path(), start, length, modificationTime);
} else
blobData->appendBlob(m_internalURL, start, length);
« no previous file with comments | « Source/WebCore/dom/EventTargetFactory.in ('k') | Source/WebCore/fileapi/File.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698