Index: Source/bindings/tests/results/V8TestNode.h |
diff --git a/Source/bindings/tests/results/V8TestNode.h b/Source/bindings/tests/results/V8TestNode.h |
index 7e82c01e2c49488da865858f841e127d0371d6d6..654b043fa649e574f5cc28e534d4fea9fdf02e6e 100644 |
--- a/Source/bindings/tests/results/V8TestNode.h |
+++ b/Source/bindings/tests/results/V8TestNode.h |
@@ -30,8 +30,12 @@ public: |
static void derefObject(void*); |
static EventTarget* toEventTarget(v8::Handle<v8::Object>); |
static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+#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(TestNode* impl) |
{ |
return V8Node::toInternalPointer(impl); |