Index: Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.h |
diff --git a/Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.h b/Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.h |
index 6d6a5396cc3139db8e7e9d81848fc04b4fedd3e4..e232c84818976d91563104a603f552cbc2faf60e 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.h |
+++ b/Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.h |
@@ -37,8 +37,12 @@ public: |
static EventTarget* toEventTarget(v8::Handle<v8::Object>); |
static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCount + 0; |
+#if ENABLE(OILPAN) |
static const int persistentHandleIndex = v8DefaultWrapperInternalFieldCount + 1; |
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 2; |
+#else |
+ static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 2; |
+#endif |
static inline void* toInternalPointer(TestInterfaceWillBeGarbageCollected* impl) |
{ |
return V8EventTarget::toInternalPointer(impl); |