diff options
Diffstat (limited to 'Source/WebCore/platform/Length.cpp')
-rw-r--r-- | Source/WebCore/platform/Length.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/Length.cpp b/Source/WebCore/platform/Length.cpp index 323705a..2169d99 100644 --- a/Source/WebCore/platform/Length.cpp +++ b/Source/WebCore/platform/Length.cpp @@ -123,7 +123,7 @@ PassOwnArrayPtr<Length> newLengthArray(const String& string, int& len) RefPtr<StringImpl> str = string.impl()->simplifyWhiteSpace(); if (!str->length()) { len = 1; - return 0; + return nullptr; } len = countCharacter(str->characters(), str->length(), ',') + 1; |