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

Unified Diff: Source/bindings/tests/results/V8TestInterfaceNode.h

Issue 314603003: Don't add extra 8 byte to DOM wrappers in non-oilpan builds (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
Index: Source/bindings/tests/results/V8TestInterfaceNode.h
diff --git a/Source/bindings/tests/results/V8TestInterfaceNode.h b/Source/bindings/tests/results/V8TestInterfaceNode.h
index effc45ece4d915d7d32114b524dd4239e3f9eca5..23d5aa6173a6890e5093c25ae19cc0954c66efd9 100644
--- a/Source/bindings/tests/results/V8TestInterfaceNode.h
+++ b/Source/bindings/tests/results/V8TestInterfaceNode.h
@@ -29,8 +29,12 @@ public:
static const WrapperTypeInfo wrapperTypeInfo;
static void derefObject(void*);
static EventTarget* toEventTarget(v8::Handle<v8::Object>);
+#if ENABLE(OILPAN)
static const int persistentHandleIndex = v8DefaultWrapperInternalFieldCount + 0;
- static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1;
+ static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 + 1;
+#else
+ static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
+#endif
static inline void* toInternalPointer(TestInterfaceNode* impl)
{
return V8Node::toInternalPointer(impl);

Powered by Google App Engine
This is Rietveld 408576698