Chromium Code Reviews| Index: Source/modules/websockets/DOMWebSocket.cpp |
| diff --git a/Source/modules/websockets/DOMWebSocket.cpp b/Source/modules/websockets/DOMWebSocket.cpp |
| index 25818985834cfb23185f818b536a235c33734906..8847a69e8463ef788f296d30163b3a56917b5e38 100644 |
| --- a/Source/modules/websockets/DOMWebSocket.cpp |
| +++ b/Source/modules/websockets/DOMWebSocket.cpp |
| @@ -529,7 +529,7 @@ void DOMWebSocket::setBinaryType(const String& binaryType) |
| m_binaryType = BinaryTypeArrayBuffer; |
| return; |
| } |
| - logError("'" + binaryType + "' is not a valid value for binaryType; binaryType remains unchanged."); |
| + ASSERT_NOT_REACHED(); |
|
Nils Barth (inactive)
2015/02/11 18:58:45
ASSERT sounds fine, thanks!
|
| } |
| const AtomicString& DOMWebSocket::interfaceName() const |