Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3140)

Unified Diff: bindings/v8/V8DOMWrapper.cpp

Issue 160590: A patch for http://crbug.com/17400... (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/WebCore/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bindings/v8/V8AbstractEventListener.h ('k') | bindings/v8/V8LazyEventListener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bindings/v8/V8DOMWrapper.cpp
===================================================================
--- bindings/v8/V8DOMWrapper.cpp (revision 46639)
+++ bindings/v8/V8DOMWrapper.cpp (working copy)
@@ -259,7 +259,7 @@
// document.all is not shadowed and some other value if
// document.all is shadowed.
v8::Local<v8::ObjectTemplate> instanceTemplate = descriptor->InstanceTemplate();
- ASSERT(instanceTemplate->InternalFieldCount() == V8Custom::kDefaultWrapperInternalFieldCount);
+ ASSERT(instanceTemplate->InternalFieldCount() == V8Custom::kNodeMinimumInternalFieldCount);
instanceTemplate->SetInternalFieldCount(V8Custom::kHTMLDocumentInternalFieldCount);
break;
}
@@ -270,7 +270,7 @@
// We add an extra internal field to all Document wrappers for
// storing a per document DOMImplementation wrapper.
v8::Local<v8::ObjectTemplate> instanceTemplate = descriptor->InstanceTemplate();
- ASSERT(instanceTemplate->InternalFieldCount() == V8Custom::kDefaultWrapperInternalFieldCount);
+ ASSERT(instanceTemplate->InternalFieldCount() == V8Custom::kNodeMinimumInternalFieldCount);
instanceTemplate->SetInternalFieldCount( V8Custom::kDocumentMinimumInternalFieldCount);
break;
}
« no previous file with comments | « bindings/v8/V8AbstractEventListener.h ('k') | bindings/v8/V8LazyEventListener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698