diff options
-rw-r--r-- | chromium/third_party/WebKit/Source/bindings/scripts/code_generator_v8.pm | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chromium/third_party/WebKit/Source/bindings/scripts/code_generator_v8.pm b/chromium/third_party/WebKit/Source/bindings/scripts/code_generator_v8.pm index 4fe56e52e09..280a73eaea3 100644 --- a/chromium/third_party/WebKit/Source/bindings/scripts/code_generator_v8.pm +++ b/chromium/third_party/WebKit/Source/bindings/scripts/code_generator_v8.pm @@ -4766,12 +4766,6 @@ v8::Handle<v8::Object> ${v8ClassName}::createWrapper(${createWrapperArgumentType { ASSERT(impl.get()); ASSERT(!DOMDataStore::containsWrapper<${v8ClassName}>(impl.get(), isolate)); - if (ScriptWrappable::wrapperCanBeStoredInObject(impl.get())) { - const WrapperTypeInfo* actualInfo = ScriptWrappable::getTypeInfoFromObject(impl.get()); - // Might be a XXXConstructor::info instead of an XXX::info. These will both have - // the same object de-ref functions, though, so use that as the basis of the check. - RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(actualInfo->derefObjectFunction == info.derefObjectFunction); - } END |