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

Unified Diff: Source/core/storage/Storage.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 | « Source/core/html/shadow/MediaControlElements.cpp ('k') | Source/wtf/text/AtomicString.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/storage/Storage.cpp
diff --git a/Source/core/storage/Storage.cpp b/Source/core/storage/Storage.cpp
index a1ff7d4667a7695eb8bf332c4f92c380079b0406..76abd82a300ffeb590d682add181d3dc831bcee6 100644
--- a/Source/core/storage/Storage.cpp
+++ b/Source/core/storage/Storage.cpp
@@ -53,7 +53,7 @@ Storage::~Storage()
String Storage::anonymousIndexedGetter(unsigned index, ExceptionState& exceptionState)
{
- return anonymousNamedGetter(String::number(index), exceptionState);
+ return anonymousNamedGetter(AtomicString::number(index), exceptionState);
}
String Storage::anonymousNamedGetter(const AtomicString& name, ExceptionState& exceptionState)
@@ -75,7 +75,7 @@ bool Storage::anonymousNamedSetter(const AtomicString& name, const AtomicString&
bool Storage::anonymousIndexedSetter(unsigned index, const AtomicString& value, ExceptionState& exceptionState)
{
- return anonymousNamedSetter(String::number(index), value, exceptionState);
+ return anonymousNamedSetter(AtomicString::number(index), value, exceptionState);
}
bool Storage::anonymousNamedDeleter(const AtomicString& name, ExceptionState& exceptionState)
@@ -91,7 +91,7 @@ bool Storage::anonymousNamedDeleter(const AtomicString& name, ExceptionState& ex
bool Storage::anonymousIndexedDeleter(unsigned index, ExceptionState& exceptionState)
{
- return anonymousNamedDeleter(String::number(index), exceptionState);
+ return anonymousNamedDeleter(AtomicString::number(index), exceptionState);
}
void Storage::namedPropertyEnumerator(Vector<String>& names, ExceptionState& exceptionState)
« no previous file with comments | « Source/core/html/shadow/MediaControlElements.cpp ('k') | Source/wtf/text/AtomicString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698