Index: webkit/port/bindings/v8/v8_custom.h |
=================================================================== |
--- webkit/port/bindings/v8/v8_custom.h (revision 8350) |
+++ webkit/port/bindings/v8/v8_custom.h (working copy) |
@@ -83,6 +83,13 @@ |
static const int kMessagePortInternalFieldCount = |
kDefaultWrapperInternalFieldCount + 2; |
+#if ENABLE(WORKERS) |
+ static const int kWorkerRequestCacheIndex = |
+ kDefaultWrapperInternalFieldCount + 0; |
+ static const int kWorkerInternalFieldCount = |
+ kDefaultWrapperInternalFieldCount + 1; |
+#endif |
+ |
static const int kDOMWindowLocationIndex = |
kDefaultWrapperInternalFieldCount + 0; |
static const int kDOMWindowNavigatorIndex = |
@@ -406,6 +413,15 @@ |
DECLARE_CALLBACK(SVGElementInstanceRemoveEventListener) |
#endif |
+// Worker |
+#if ENABLE(WORKERS) |
+DECLARE_PROPERTY_ACCESSOR(WorkerOnmessage) |
+DECLARE_PROPERTY_ACCESSOR(WorkerOnerror) |
+DECLARE_CALLBACK(WorkerConstructor) |
+DECLARE_CALLBACK(WorkerAddEventListener) |
+DECLARE_CALLBACK(WorkerRemoveEventListener) |
+#endif |
+ |
#undef DECLARE_INDEXED_ACCESS_CHECK |
#undef DECLARE_NAMED_ACCESS_CHECK |