Chromium Code Reviews| Index: Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp |
| diff --git a/Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp b/Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp |
| index aece51bd40e5c1c34355ce8898613c59f1d94734..fa996278052bcc01ff07909137f32364ccb2449b 100644 |
| --- a/Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp |
| +++ b/Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp |
| @@ -98,7 +98,7 @@ bool ParsedProperties::parseBlobPropertyBag(v8::Isolate* isolate, v8::Local<v8:: |
| v8::Local<v8::Value> lastModified; |
| TONATIVE_DEFAULT(bool, containsLastModified, DictionaryHelper::get(dictionary, "lastModified", lastModified), false); |
| if (containsLastModified) { |
| - TONATIVE_DEFAULT(long long, lastModifiedInt, toInt64(isolate, lastModified), false); |
| + TONATIVE_DEFAULT(long long, lastModifiedInt, toInt64(isolate, lastModified, NormalConversion, exceptionState), false); |
|
haraken
2015/03/17 17:19:03
If toInt64 fails and exceptionState is set, should
Jens Widell
2015/03/17 17:25:00
Yeah, we should just have
long long lastModifie
|
| setLastModified(static_cast<double>(lastModifiedInt)); |
| } else { |
| setDefaultLastModified(); |