Index: webkit/port/bindings/v8/v8_index.h |
=================================================================== |
--- webkit/port/bindings/v8/v8_index.h (revision 8350) |
+++ webkit/port/bindings/v8/v8_index.h (working copy) |
@@ -26,6 +26,14 @@ |
#define VIDEO_NONNODE_TYPES(V) |
#endif |
+#if ENABLE(WORKERS) |
+#define WORKER_NONNODE_WRAPPER_TYPES(V) \ |
+ V(WORKER, Worker) \ |
+ V(WORKERLOCATION, WorkerLocation) |
+#else |
+#define WORKER_NONNODE_WRAPPER_TYPES(V) |
+#endif |
+ |
#define DOM_NODE_TYPES(V) \ |
V(ATTR, Attr) \ |
V(CHARACTERDATA, CharacterData) \ |
@@ -319,9 +327,9 @@ |
V(XPATHRESULT, XPathResult) \ |
V(XSLTPROCESSOR, XSLTProcessor) \ |
ACTIVE_DOM_OBJECT_TYPES(V) \ |
- VIDEO_NONNODE_TYPES(V) |
+ VIDEO_NONNODE_TYPES(V) \ |
+ WORKER_NONNODE_WRAPPER_TYPES(V) |
- |
#define DOM_OBJECT_TYPES(V) \ |
DOM_OBJECT_TYPES_1(V) \ |
DOM_OBJECT_TYPES_2(V) |