--- a/gfx/thebes/gfxFont.h+++ b/gfx/thebes/gfxFont.h@@ -563,18 +563,16 @@ public: * When set, the previous character for this textrun was an Arabic * character. This is used for the context detection necessary for * bidi.numeral implementation. */ TEXT_INCOMING_ARABICCHAR = 0x40000000, // Set if the textrun should use the OpenType 'math' script. TEXT_USE_MATH_SCRIPT = 0x80000000,-- TEXT_UNUSED_FLAGS = 0x10000000 }; /** * This record contains all the parameters needed to initialize a textrun. */ struct Parameters { // Shape text params suggesting where the textrun will be rendered DrawTarget *mDrawTarget;

--- a/layout/generic/nsTextFrameUtils.h+++ b/layout/generic/nsTextFrameUtils.h@@ -45,17 +45,20 @@ public: // will have a break opportunity at the start, but it's useful for line // layout to know about it in case the following content is not text TEXT_HAS_TRAILING_BREAK = 0x4000000, // This is set if the textrun was created for a textframe whose // NS_FRAME_IS_IN_SINGLE_CHAR_MI flag is set. This occurs if the textframe // belongs to a MathML <mi> element whose embedded text consists of a // single character.- TEXT_IS_SINGLE_CHAR_MI = 0x8000000+ TEXT_IS_SINGLE_CHAR_MI = 0x8000000,++ // This is set if the text run might be observing for glyph changes.+ TEXT_MIGHT_HAVE_GLYPH_CHANGES = 0x10000000, // The following are defined by gfxTextRunWordCache rather than here, // so that it also has access to the _INCOMING flag // TEXT_TRAILING_ARABICCHAR // TEXT_INCOMING_ARABICCHAR // This is defined in gfxTextRunFactory to allow access in gfxFont. // TEXT_USE_MATH_SCRIPT