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

Unified Diff: third_party/WebKit/Source/modules/storage/Storage.cpp

Issue 2321073002: binding: Let indexed interceptor falls through to named interceptor. (Closed)
Patch Set: Updated global-interface-listing expectations. Created 4 years, 3 months 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
Index: third_party/WebKit/Source/modules/storage/Storage.cpp
diff --git a/third_party/WebKit/Source/modules/storage/Storage.cpp b/third_party/WebKit/Source/modules/storage/Storage.cpp
index 323111b9dbabfcbce520148d73b96929beafb575..372f916d90bf88df0838c07375930a8f054d85f5 100644
--- a/third_party/WebKit/Source/modules/storage/Storage.cpp
+++ b/third_party/WebKit/Source/modules/storage/Storage.cpp
@@ -44,11 +44,6 @@ Storage::Storage(LocalFrame* frame, StorageArea* storageArea)
ASSERT(m_storageArea);
}
-String Storage::anonymousIndexedGetter(unsigned index, ExceptionState& exceptionState)
-{
- return anonymousNamedGetter(AtomicString::number(index), exceptionState);
-}
-
String Storage::anonymousNamedGetter(const AtomicString& name, ExceptionState& exceptionState)
{
bool found = contains(name, exceptionState);
@@ -66,11 +61,6 @@ bool Storage::anonymousNamedSetter(const AtomicString& name, const AtomicString&
return true;
}
-bool Storage::anonymousIndexedSetter(unsigned index, const AtomicString& value, ExceptionState& exceptionState)
-{
- return anonymousNamedSetter(AtomicString::number(index), value, exceptionState);
-}
-
DeleteResult Storage::anonymousNamedDeleter(const AtomicString& name, ExceptionState& exceptionState)
{
bool found = contains(name, exceptionState);
@@ -84,12 +74,6 @@ DeleteResult Storage::anonymousNamedDeleter(const AtomicString& name, ExceptionS
return DeleteSuccess;
}
-DeleteResult Storage::anonymousIndexedDeleter(unsigned index, ExceptionState& exceptionState)
-{
- DeleteResult result = anonymousNamedDeleter(AtomicString::number(index), exceptionState);
- return result == DeleteUnknownProperty ? DeleteSuccess : result;
-}
-
void Storage::namedPropertyEnumerator(Vector<String>& names, ExceptionState& exceptionState)
{
unsigned length = this->length(exceptionState);
« no previous file with comments | « third_party/WebKit/Source/modules/storage/Storage.h ('k') | third_party/WebKit/Source/modules/storage/Storage.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698