summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@digia.com>2014-01-20 15:14:41 +0100
committerPierre Rossi <pierre.rossi@gmail.com>2014-01-21 09:48:05 +0100
commit3e834e97bf8c6f20ca7d9c7d0cc79094108e8965 (patch)
treef24857ee9e567b906cb9a704b0b0961b3cbeb2ea
parentb89ebf898a48afcaaa4fb48e6f3f3cbd8febd137 (diff)
downloadqtwebengine-chromium-3e834e97bf8c6f20ca7d9c7d0cc79094108e8965.tar.gz
Remove the infamous RELEASE_ASSERT_WITH_SECURITY_IMPLICATION
The security implication doesn't matter that much for us at this point (tech preview material, not production quality). But having the render process apparently crashing does not look good. Change-Id: I72d494cfa8b7d5babb30572cedd6520f3dc44d16 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
-rw-r--r--chromium/third_party/WebKit/Source/bindings/scripts/code_generator_v8.pm6
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