Bug 1098558: Remove unused constant NS_STYLE_DIRECTION_INHERIT. r=smontagu

This commit is contained in:
Daniel Holbert 2014-11-13 15:50:39 -08:00
parent 136a17ef64
commit ef419fe57d
2 changed files with 0 additions and 2 deletions

View File

@ -646,7 +646,6 @@ nsCaret::GetCaretFrameForNodeOffset(nsFrameSelection* aFrameSelection,
// ------------------
// NS_STYLE_DIRECTION_LTR : LTR or Default
// NS_STYLE_DIRECTION_RTL
// NS_STYLE_DIRECTION_INHERIT
if (IsBidiUI())
{
// If there has been a reflow, take the caret Bidi level to be the level of the current frame

View File

@ -399,7 +399,6 @@ static inline mozilla::css::Side operator++(mozilla::css::Side& side, int) {
// See nsStyleVisibility
#define NS_STYLE_DIRECTION_LTR 0
#define NS_STYLE_DIRECTION_RTL 1
#define NS_STYLE_DIRECTION_INHERIT 2
// See nsStyleVisibility
#define NS_STYLE_WRITING_MODE_HORIZONTAL_TB 0