summaryrefslogtreecommitdiffstats
path: root/gfx/layers/LayersTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/LayersTypes.h')
-rw-r--r--gfx/layers/LayersTypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/layers/LayersTypes.h b/gfx/layers/LayersTypes.h
index c02851d81f..ab26523e60 100644
--- a/gfx/layers/LayersTypes.h
+++ b/gfx/layers/LayersTypes.h
@@ -463,6 +463,8 @@ MOZ_DEFINE_ENUM_CLASS_WITH_BASE(ScrollDirection, uint8_t, (
eHorizontal
));
+std::ostream& operator<<(std::ostream& os, ScrollDirection aDirection);
+
using ScrollDirections = EnumSet<ScrollDirection, uint8_t>;
constexpr ScrollDirections EitherScrollDirection(ScrollDirection::eVertical,ScrollDirection::eHorizontal);