Commit the right fix.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jun 2014 00:49:09 +0000 (00:49 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jun 2014 00:49:09 +0000 (00:49 +0000)
* css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::formatNumberValue):

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

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

index d8cae65b75848c70f096491085aeb1c5ba3d7399..5f6be9ba503d3e8d3e9d63621fb270c6582e8fe0 100644 (file)
@@ -1,3 +1,10 @@
+2014-06-09  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Commit the right fix.
+
+        * css/CSSPrimitiveValue.cpp:
+        (WebCore::CSSPrimitiveValue::formatNumberValue):
+
 2014-06-09  Ryosuke Niwa  <rniwa@webkit.org>
 
         Debug build fix after r169731.
index 818973e5a6ec3112c7cf8408b7265fff00717da0..1af1280bc93f80961b3ab8be58a02f6e4aed66bd 100644 (file)
@@ -930,7 +930,7 @@ NEVER_INLINE PassRef<StringImpl> CSSPrimitiveValue::formatNumberValue(const char
     PassRef<StringImpl> string = StringImpl::createUninitialized(bufferLength, buffer);
 
     unsigned length = decimal.toStringDecimal(buffer, bufferLength);
-    ASSERT(length == string->length());
+    ASSERT(length == string.get().length());
 
     for (unsigned i = 0; i < suffixLength; ++i)
         buffer[length + i] = static_cast<LChar>(suffix[i]);