Index: Source/core/editing/HTMLInterchange.cpp |
diff --git a/Source/core/editing/HTMLInterchange.cpp b/Source/core/editing/HTMLInterchange.cpp |
index 2d3a2440b72ae7ccf3b5fe919e1fa6bc533fdfca..098d7c8d547b46106631f50ad170fa78bbdb0129 100644 |
--- a/Source/core/editing/HTMLInterchange.cpp |
+++ b/Source/core/editing/HTMLInterchange.cpp |
@@ -42,7 +42,7 @@ String convertHTMLTextToInterchangeFormat(const String& in, const Text& node) |
return in; |
const char convertedSpaceString[] = "<span class=\"" AppleConvertedSpace "\">\xA0</span>"; |
- COMPILE_ASSERT((static_cast<unsigned char>('\xA0') == noBreakSpace), ConvertedSpaceStringSpaceIsNoBreakSpace); |
+ static_assert((static_cast<unsigned char>('\xA0') == noBreakSpace), "\\xA0 should be non-breaking space"); |
StringBuilder s; |