Index: third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp |
diff --git a/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp b/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp |
index 48a9ab453c2273411da6ae9fd7cc31667c208b8e..ec2f64b16ea8b664c33264b69fcebe1cb1cfaf41 100644 |
--- a/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp |
+++ b/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp |
@@ -189,7 +189,7 @@ static String encodeSubprotocolString(const String& protocol) |
if (protocol[i] < 0x20 || protocol[i] > 0x7E) |
builder.append(String::format("\\u%04X", protocol[i])); |
else if (protocol[i] == 0x5c) |
- builder.appendLiteral("\\\\"); |
+ builder.append("\\\\"); |
else |
builder.append(protocol[i]); |
} |