Commit the right fix.
[WebKit-https.git] / Source / WebCore / css / CSSPrimitiveValue.cpp
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]);