Index: Source/bindings/tests/results/V8TestInterfaceDocument.h |
diff --git a/Source/bindings/tests/results/V8TestInterfaceDocument.h b/Source/bindings/tests/results/V8TestInterfaceDocument.h |
index a61c4da24dd586cfc8f31fb7d0fdd2c60f656793..dbf71fd7b862666afde51a17612082959f48121c 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceDocument.h |
+++ b/Source/bindings/tests/results/V8TestInterfaceDocument.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(TestInterfaceDocument* impl) |
{ |
return V8Document::toInternalPointer(impl); |