summaryrefslogtreecommitdiffstats
path: root/dom/workers/WorkerIPCUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/workers/WorkerIPCUtils.h')
-rw-r--r--dom/workers/WorkerIPCUtils.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/dom/workers/WorkerIPCUtils.h b/dom/workers/WorkerIPCUtils.h
index 0be45b307f..a93fad5b02 100644
--- a/dom/workers/WorkerIPCUtils.h
+++ b/dom/workers/WorkerIPCUtils.h
@@ -6,7 +6,7 @@
#ifndef _mozilla_dom_WorkerIPCUtils_h
#define _mozilla_dom_WorkerIPCUtils_h
-#include "ipc/EnumSerializer.h"
+#include "mozilla/dom/BindingIPCUtils.h"
// Undo X11/X.h's definition of None
#undef None
@@ -17,9 +17,7 @@ namespace IPC {
template <>
struct ParamTraits<mozilla::dom::WorkerType>
- : public ContiguousEnumSerializer<mozilla::dom::WorkerType,
- mozilla::dom::WorkerType::Classic,
- mozilla::dom::WorkerType::EndGuard_> {};
+ : public mozilla::dom::WebIDLEnumSerializer<mozilla::dom::WorkerType> {};
} // namespace IPC