@@ -, +, @@ -- --- firefox-71.0.orig/layout/generic/WritingModes.h 2019-12-02 04:23:18.000000000 -0800 +++ firefox-71.0.orig/layout/generic/WritingModes.h 2019-12-12 12:05:54.650296624 -0800 @@ -518,7 +518,8 @@ class WritingMode { */ void SetDirectionFromBidiLevel(uint8_t level) { if (IS_LEVEL_RTL(level) == IsBidiLTR()) { - mWritingMode ^= StyleWritingMode_RTL | StyleWritingMode_INLINE_REVERSED; + mWritingMode.bits ^= static_cast( + (StyleWritingMode_RTL | StyleWritingMode_INLINE_REVERSED).bits); } } --- firefox-71.0.orig/servo/ports/geckolib/cbindgen.toml 2019-12-02 04:23:23.000000000 -0800 +++ firefox-71.0.orig/servo/ports/geckolib/cbindgen.toml 2019-12-12 12:06:54.546352426 -0800 @@ -616,13 +616,3 @@ renaming_overrides_prefixing = true // Get the layout rect, replacing auto right / bottom values for aAutoSize. inline nsRect ToLayoutRect(nscoord aAutoSize = NS_MAXSIZE) const; """ - -"WritingMode" = """ - StyleWritingMode operator^(const StyleWritingMode& other) const { - return {static_cast(this->bits ^ other.bits)}; - } - StyleWritingMode& operator^=(const StyleWritingMode& other) { - *this = (*this ^ other); - return *this; - } -"""