| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index 45d0d75298aab800192866d674e0428b87022329..8e74cce616f5e72df0703dfb09758b936805789e 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -255,6 +255,7 @@
|
| #include "wtf/HashFunctions.h"
|
| #include "wtf/PtrUtil.h"
|
| #include "wtf/StdLibExtras.h"
|
| +#include "wtf/text/CharacterNames.h"
|
| #include "wtf/text/StringBuffer.h"
|
| #include "wtf/text/TextEncodingRegistry.h"
|
| #include <memory>
|
| @@ -1314,9 +1315,6 @@ static inline String canonicalizedTitle(Document* document,
|
|
|
| // Replace control characters with spaces and collapse whitespace.
|
| bool pendingWhitespace = false;
|
| - const UChar lineTabulationCharacter = 0x0b;
|
| - const UChar spaceCharacter = 0x20;
|
| - const UChar deleteCharacter = 0x7f;
|
| for (unsigned i = 0; i < length; ++i) {
|
| UChar32 c = characters[i];
|
| if ((c <= spaceCharacter && c != lineTabulationCharacter) ||
|
|
|