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 51af63db25a857c2498d6a211681e5dc6f010308..0fcb81684dc79fd8abe3a8c87e9b08183683d978 100644 |
--- a/Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp |
+++ b/Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp |
@@ -72,7 +72,7 @@ bool ParsedProperties::parseBlobPropertyBag(v8::Local<v8::Value> propertyBag, co |
TONATIVE_DEFAULT(Dictionary, dictionary, Dictionary(propertyBag, isolate), false); |
String endings; |
- TONATIVE_DEFAULT(bool, containsEndings, DictionaryHelper::get(dictionary, "endings", endings), false); |
+ TONATIVE_DEFAULT(bool, containsEndings, dictionary.get("endings", endings), false); |
if (containsEndings) { |
if (endings != "transparent" && endings != "native") { |
exceptionState.throwTypeError("The 'endings' property must be either 'transparent' or 'native'."); |
@@ -82,7 +82,7 @@ bool ParsedProperties::parseBlobPropertyBag(v8::Local<v8::Value> propertyBag, co |
m_normalizeLineEndingsToNative = true; |
} |
- TONATIVE_DEFAULT(bool, containsType, DictionaryHelper::get(dictionary, "type", m_contentType), false); |
+ TONATIVE_DEFAULT(bool, containsType, dictionary.get("type", m_contentType), false); |
if (containsType) { |
if (!m_contentType.containsOnlyASCII()) { |
exceptionState.throwDOMException(SyntaxError, "The 'type' property must consist of ASCII characters."); |
@@ -95,7 +95,7 @@ bool ParsedProperties::parseBlobPropertyBag(v8::Local<v8::Value> propertyBag, co |
return true; |
v8::Local<v8::Value> lastModified; |
- TONATIVE_DEFAULT(bool, containsLastModified, DictionaryHelper::get(dictionary, "lastModified", lastModified), false); |
+ TONATIVE_DEFAULT(bool, containsLastModified, dictionary.get("lastModified", lastModified), false); |
if (containsLastModified) { |
TONATIVE_DEFAULT(long long, lastModifiedInt, toInt64(lastModified), false); |
setLastModified(static_cast<double>(lastModifiedInt) / msPerSecond); |