Index: Source/bindings/v8/Dictionary.cpp |
diff --git a/Source/bindings/v8/Dictionary.cpp b/Source/bindings/v8/Dictionary.cpp |
index 199197bca029d90b9e2a7c49847e237a1026d3a8..9d28005c32f17bc6fcbb9a1647de1565f08e97a3 100644 |
--- a/Source/bindings/v8/Dictionary.cpp |
+++ b/Source/bindings/v8/Dictionary.cpp |
@@ -321,6 +321,12 @@ bool Dictionary::getWithUndefinedOrNullCheck(const String& key, String& value) c |
return true; |
} |
+bool Dictionary::hasValue(const String& key) const |
+{ |
+ v8::Local<v8::Value> v8Value; |
+ return getKey(key, v8Value); |
+} |
+ |
bool Dictionary::get(const String& key, RefPtr<Uint8Array>& value) const |
{ |
v8::Local<v8::Value> v8Value; |