Index: Source/bindings/v8/Dictionary.cpp |
diff --git a/Source/bindings/v8/Dictionary.cpp b/Source/bindings/v8/Dictionary.cpp |
index 199197bca029d90b9e2a7c49847e237a1026d3a8..943838bbfe19e4903f42ba8eb75600fcd936ffd0 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::contains(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; |