Remove the bogus assertion that didn't even build.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jun 2014 01:14:31 +0000 (01:14 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jun 2014 01:14:31 +0000 (01:14 +0000)
* css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::formatNumberValue):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@169738 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/css/CSSPrimitiveValue.cpp

index 5f6be9ba503d3e8d3e9d63621fb270c6582e8fe0..01102fb9b212b23055f2a3c7be8d887f42fd01b5 100644 (file)
@@ -1,3 +1,10 @@
+2014-06-09  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Remove the bogus assertion that didn't even build.
+
+        * css/CSSPrimitiveValue.cpp:
+        (WebCore::CSSPrimitiveValue::formatNumberValue):
+
 2014-06-09  Ryosuke Niwa  <rniwa@webkit.org>
 
         Commit the right fix.
index 1af1280bc93f80961b3ab8be58a02f6e4aed66bd..58924592380c9818397d8d72c99ddb2ce126c9e2 100644 (file)
@@ -930,7 +930,6 @@ NEVER_INLINE PassRef<StringImpl> CSSPrimitiveValue::formatNumberValue(const char
     PassRef<StringImpl> string = StringImpl::createUninitialized(bufferLength, buffer);
 
     unsigned length = decimal.toStringDecimal(buffer, bufferLength);
-    ASSERT(length == string.get().length());
 
     for (unsigned i = 0; i < suffixLength; ++i)
         buffer[length + i] = static_cast<LChar>(suffix[i]);