Bug 1464967 - Part 1: Make nsLineBox::BreakTypeToString static. r=gerald

MozReview-Commit-ID: L97yf6oCXlq
This commit is contained in:
Cameron McCormack
2018-05-29 14:06:50 +10:00
parent 0b81031f65
commit 9711c413db
2 changed files with 3 additions and 3 deletions

View File

@@ -203,8 +203,8 @@ ListFloats(FILE* out, const char* aPrefix, const nsFloatCacheList& aFloats)
}
}
const char*
nsLineBox::BreakTypeToString(StyleClear aBreakType) const
/* static */ const char*
nsLineBox::BreakTypeToString(StyleClear aBreakType)
{
switch (aBreakType) {
case StyleClear::None: return "nobr";

View File

@@ -574,7 +574,7 @@ public:
int32_t* aFrameIndexInLine);
#ifdef DEBUG_FRAME_DUMP
const char* BreakTypeToString(StyleClear aBreakType) const;
static const char* BreakTypeToString(StyleClear aBreakType);
char* StateToString(char* aBuf, int32_t aBufSize) const;
void List(FILE* out, int32_t aIndent, uint32_t aFlags = 0) const;