Index: Source/bindings/tests/results/core/V8TestDictionary.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestDictionary.cpp b/Source/bindings/tests/results/core/V8TestDictionary.cpp |
index 0d247f75fce624cc1e194214ccfe41f126ce22a5..ca503aeb6f1f1ca74d6c6729ce3a0187711a9195 100644 |
--- a/Source/bindings/tests/results/core/V8TestDictionary.cpp |
+++ b/Source/bindings/tests/results/core/V8TestDictionary.cpp |
@@ -17,6 +17,8 @@ namespace blink { |
TestDictionary* V8TestDictionary::toImpl(v8::Isolate* isolate, v8::Handle<v8::Value> v8Value, ExceptionState& exceptionState) |
{ |
+ ASSERT(isUndefinedOrNull(v8Value) || v8Value->IsObject()); |
+ |
TestDictionary* impl = TestDictionary::create(); |
// FIXME: Do not use Dictionary and DictionaryHelper |
// https://crbug.com/321462 |