Bug 1640839 - Add IPC serializer for WebIDL enums. r=mccr8,jgilbert,media-playback-reviewers,dom-storage-reviewers,janv,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201339
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user