Index: Source/bindings/core/v8/SerializedScriptValueFactory.cpp |
diff --git a/Source/bindings/core/v8/SerializedScriptValueFactory.cpp b/Source/bindings/core/v8/SerializedScriptValueFactory.cpp |
index 9c260cb237b76418a5928ee2a6e0f8f9313d338a..76f7bca8a8d7e41b097ef586dae01e9a18bc62ad 100644 |
--- a/Source/bindings/core/v8/SerializedScriptValueFactory.cpp |
+++ b/Source/bindings/core/v8/SerializedScriptValueFactory.cpp |
@@ -134,7 +134,7 @@ v8::Handle<v8::Value> SerializedScriptValueFactory::deserialize(String& data, Bl |
{ |
if (!data.impl()) |
return v8::Null(isolate); |
- COMPILE_ASSERT(sizeof(SerializedScriptValueWriter::BufferValueType) == 2, BufferValueTypeIsTwoBytes); |
+ static_assert(sizeof(SerializedScriptValueWriter::BufferValueType) == 2, "BufferValueType should be 2 bytes"); |
data.ensure16Bit(); |
// FIXME: SerializedScriptValue shouldn't use String for its underlying |
// storage. Instead, it should use SharedBuffer or Vector<uint8_t>. The |