Index: src/conversions-inl.h |
diff --git a/src/conversions-inl.h b/src/conversions-inl.h |
index 1b539126966f27899f74b4669b600a4efed9ab3a..7edaf224072124437cab688b59bf36302bd066a2 100644 |
--- a/src/conversions-inl.h |
+++ b/src/conversions-inl.h |
@@ -481,9 +481,9 @@ double InternalStringToDouble(UnicodeCache* unicode_cache, |
sign = NEGATIVE; |
} |
- static const char kInfinitySymbol[] = "Infinity"; |
- if (*current == kInfinitySymbol[0]) { |
- if (!SubStringEquals(¤t, end, kInfinitySymbol)) { |
+ static const char kInfinityString[] = "Infinity"; |
+ if (*current == kInfinityString[0]) { |
+ if (!SubStringEquals(¤t, end, kInfinityString)) { |
return JunkStringValue(); |
} |