Index: Source/core/layout/LayoutTreeAsText.cpp |
diff --git a/Source/core/layout/LayoutTreeAsText.cpp b/Source/core/layout/LayoutTreeAsText.cpp |
index f5fd814ef2f4131088338d586da99d890400ad2b..b5a2d739b448e67ab5c2627039c72e48e3c7c3ee 100644 |
--- a/Source/core/layout/LayoutTreeAsText.cpp |
+++ b/Source/core/layout/LayoutTreeAsText.cpp |
@@ -138,7 +138,7 @@ String quoteAndEscapeNonPrintables(const String& s) |
} else if (c == '"') { |
result.append('\\'); |
result.append('"'); |
- } else if (c == '\n' || c == noBreakSpace) { |
+ } else if (c == '\n' || c == noBreakSpaceCharacter) { |
result.append(' '); |
} else { |
if (c >= 0x20 && c < 0x7F) { |
@@ -332,13 +332,13 @@ void LayoutTreeAsText::writeLayoutObject(TextStream& ts, const LayoutObject& o, |
text = quoteAndEscapeNonPrintables(text); |
} else { |
switch (text[0]) { |
- case bullet: |
+ case bulletCharacter: |
text = "bullet"; |
break; |
- case blackSquare: |
+ case blackSquareCharacter: |
text = "black square"; |
break; |
- case whiteBullet: |
+ case whiteBulletCharacter: |
text = "white bullet"; |
break; |
default: |