зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1464967 - Part 1: Make nsLineBox::BreakTypeToString static. r=gerald
MozReview-Commit-ID: L97yf6oCXlq --HG-- extra : rebase_source : 6cc25d93ff8c8d446f63e90c93b8bc01aff59b66
This commit is contained in:
Родитель
a8a04b5c6a
Коммит
b3a4b80968
|
@ -203,8 +203,8 @@ ListFloats(FILE* out, const char* aPrefix, const nsFloatCacheList& aFloats)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const char*
|
/* static */ const char*
|
||||||
nsLineBox::BreakTypeToString(StyleClear aBreakType) const
|
nsLineBox::BreakTypeToString(StyleClear aBreakType)
|
||||||
{
|
{
|
||||||
switch (aBreakType) {
|
switch (aBreakType) {
|
||||||
case StyleClear::None: return "nobr";
|
case StyleClear::None: return "nobr";
|
||||||
|
|
|
@ -574,7 +574,7 @@ public:
|
||||||
int32_t* aFrameIndexInLine);
|
int32_t* aFrameIndexInLine);
|
||||||
|
|
||||||
#ifdef DEBUG_FRAME_DUMP
|
#ifdef DEBUG_FRAME_DUMP
|
||||||
const char* BreakTypeToString(StyleClear aBreakType) const;
|
static const char* BreakTypeToString(StyleClear aBreakType);
|
||||||
char* StateToString(char* aBuf, int32_t aBufSize) const;
|
char* StateToString(char* aBuf, int32_t aBufSize) const;
|
||||||
|
|
||||||
void List(FILE* out, int32_t aIndent, uint32_t aFlags = 0) const;
|
void List(FILE* out, int32_t aIndent, uint32_t aFlags = 0) const;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче