Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Unified Diff: Source/bindings/v8/V8StringResource.cpp

Issue 84713002: Add number() static methods to AtomicString class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Pass NaN as default argument Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/dom/DOMStringMap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8StringResource.cpp
diff --git a/Source/bindings/v8/V8StringResource.cpp b/Source/bindings/v8/V8StringResource.cpp
index 22e5a487f9ad4aef90485d3f64720fe3ae352ff3..888d1c24937e1649d2beee3f11cca6dd2c23a67d 100644
--- a/Source/bindings/v8/V8StringResource.cpp
+++ b/Source/bindings/v8/V8StringResource.cpp
@@ -187,7 +187,7 @@ String int32ToWebCoreStringFast(int value)
if (0 <= value && value <= kLowNumbers) {
webCoreString = lowNumbers[value];
if (!webCoreString) {
- AtomicString valueString = AtomicString(String::number(value));
+ AtomicString valueString = AtomicString::number(value);
lowNumbers[value] = valueString;
webCoreString = valueString;
}
« no previous file with comments | « no previous file | Source/core/dom/DOMStringMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698