Debug build fix after r169731.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jun 2014 00:46:21 +0000 (00:46 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jun 2014 00:46:21 +0000 (00:46 +0000)
* css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::formatNumberValue):

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

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

index 22389ad9931aab0d1333533d893ee41210ae2549..d8cae65b75848c70f096491085aeb1c5ba3d7399 100644 (file)
@@ -1,3 +1,10 @@
+2014-06-09  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Debug build fix after r169731.
+
+        * css/CSSPrimitiveValue.cpp:
+        (WebCore::CSSPrimitiveValue::formatNumberValue):
+
 2014-06-09  Simon Fraser  <simon.fraser@apple.com>
 
         Work towards having frames in the scrolling tree
index d325a8fd82a5825961dae0b1445f59e7c12d2948..818973e5a6ec3112c7cf8408b7265fff00717da0 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->length());
 
     for (unsigned i = 0; i < suffixLength; ++i)
         buffer[length + i] = static_cast<LChar>(suffix[i]);