| Index: third_party/WebKit/Source/core/fileapi/File.cpp
|
| diff --git a/third_party/WebKit/Source/core/fileapi/File.cpp b/third_party/WebKit/Source/core/fileapi/File.cpp
|
| index e8f41f963ae10484bda679b72f8ed1d8933657eb..8e5658d823660b374006ab921e5625cd98258eec 100644
|
| --- a/third_party/WebKit/Source/core/fileapi/File.cpp
|
| +++ b/third_party/WebKit/Source/core/fileapi/File.cpp
|
| @@ -103,14 +103,10 @@ File* File::create(ExecutionContext* context, const HeapVector<ArrayBufferOrArra
|
| lastModified = static_cast<double>(options.lastModified());
|
| else
|
| lastModified = currentTimeMS();
|
| - ASSERT(options.hasEndings());
|
| - bool normalizeLineEndingsToNative = options.endings() == "native";
|
| - if (normalizeLineEndingsToNative)
|
| - UseCounter::count(context, UseCounter::FileAPINativeLineEndings);
|
|
|
| std::unique_ptr<BlobData> blobData = BlobData::create();
|
| blobData->setContentType(options.type().lower());
|
| - populateBlobData(blobData.get(), fileBits, normalizeLineEndingsToNative);
|
| + populateBlobData(blobData.get(), fileBits);
|
|
|
| long long fileSize = blobData->length();
|
| return File::create(fileName, lastModified, BlobDataHandle::create(std::move(blobData), fileSize));
|
|
|