зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1208593 - Make the WritingMode::DebugString() method available even in non-DEBUG compilation (needed by --enable-dump-painting builds, for example). r=mchang
This commit is contained in:
Родитель
1fa581c489
Коммит
7cf24569af
|
@ -557,7 +557,6 @@ public:
|
|||
|
||||
uint8_t GetBits() const { return mWritingMode; }
|
||||
|
||||
#ifdef DEBUG
|
||||
const char* DebugString() const {
|
||||
return IsVertical()
|
||||
? IsVerticalLR()
|
||||
|
@ -570,7 +569,6 @@ public:
|
|||
: IsBidiLTR() ? "h-ltr" : "h-rtl"
|
||||
;
|
||||
}
|
||||
#endif
|
||||
|
||||
private:
|
||||
friend class LogicalPoint;
|
||||
|
|
Загрузка…
Ссылка в новой задаче