| Index: third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
|
| index 9d11f0c3a5fd4a5b6d2c02aeb643131b4e9e3eb9..f21e69a26a4ce6342e13bdbde6506129e6a648aa 100644
|
| --- a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
|
| @@ -617,8 +617,8 @@ String InlineTextBox::text() const
|
| void InlineTextBox::showBox(int printedCharacters) const
|
| {
|
| String value = text();
|
| - value.replaceWithLiteral('\\', "\\\\");
|
| - value.replaceWithLiteral('\n', "\\n");
|
| + value.replace('\\', "\\\\");
|
| + value.replace('\n', "\\n");
|
| printedCharacters += fprintf(stderr, "%s %p", boxName(), this);
|
| for (; printedCharacters < showTreeCharacterOffset; printedCharacters++)
|
| fputc(' ', stderr);
|
|
|