Index: Source/bindings/tests/results/V8TestInterfaceEventConstructor.h |
diff --git a/Source/bindings/tests/results/V8TestInterfaceEventConstructor.h b/Source/bindings/tests/results/V8TestInterfaceEventConstructor.h |
index edede850fa3cd38ea6d655254a8e84360d2b6966..ef6a9308b85930554c4769c3f298bfd90da91731 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceEventConstructor.h |
+++ b/Source/bindings/tests/results/V8TestInterfaceEventConstructor.h |
@@ -30,8 +30,12 @@ public: |
static const WrapperTypeInfo wrapperTypeInfo; |
static void derefObject(void*); |
static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+#if ENABLE(OILPAN) |
static const int persistentHandleIndex = v8DefaultWrapperInternalFieldCount + 0; |
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1; |
+#else |
+ static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1; |
+#endif |
static inline void* toInternalPointer(TestInterfaceEventConstructor* impl) |
{ |
return V8Event::toInternalPointer(impl); |