summaryrefslogtreecommitdiffstats
path: root/docshell/shistory/SessionHistoryEntry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/shistory/SessionHistoryEntry.cpp')
-rw-r--r--docshell/shistory/SessionHistoryEntry.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/docshell/shistory/SessionHistoryEntry.cpp b/docshell/shistory/SessionHistoryEntry.cpp
index 692ab4fe44..4f5b760c8a 100644
--- a/docshell/shistory/SessionHistoryEntry.cpp
+++ b/docshell/shistory/SessionHistoryEntry.cpp
@@ -20,7 +20,7 @@
#include "nsXULAppAPI.h"
#include "mozilla/PresState.h"
#include "mozilla/StaticPrefs_fission.h"
-
+#include "mozilla/dom/BindingIPCUtils.h"
#include "mozilla/dom/BrowserParent.h"
#include "mozilla/dom/CanonicalBrowsingContext.h"
#include "mozilla/dom/ContentChild.h"
@@ -1797,10 +1797,8 @@ namespace IPC {
// Allow sending mozilla::dom::WireframeRectType enums over IPC.
template <>
struct ParamTraits<mozilla::dom::WireframeRectType>
- : public ContiguousEnumSerializer<
- mozilla::dom::WireframeRectType,
- mozilla::dom::WireframeRectType::Image,
- mozilla::dom::WireframeRectType::EndGuard_> {};
+ : public mozilla::dom::WebIDLEnumSerializer<
+ mozilla::dom::WireframeRectType> {};
template <>
struct ParamTraits<mozilla::dom::WireframeTaggedRect> {