summaryrefslogtreecommitdiffstats
path: root/webkit/api/src/StorageAreaProxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/api/src/StorageAreaProxy.cpp')
-rw-r--r--webkit/api/src/StorageAreaProxy.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/webkit/api/src/StorageAreaProxy.cpp b/webkit/api/src/StorageAreaProxy.cpp
index 0709a2b..4e56372 100644
--- a/webkit/api/src/StorageAreaProxy.cpp
+++ b/webkit/api/src/StorageAreaProxy.cpp
@@ -51,12 +51,9 @@ unsigned StorageAreaProxy::length() const
return m_storageArea->length();
}
-String StorageAreaProxy::key(unsigned index, ExceptionCode& ec) const
+String StorageAreaProxy::key(unsigned index) const
{
- bool keyException = false;
- String value = m_storageArea->key(index, keyException);
- ec = keyException ? INDEX_SIZE_ERR : 0;
- return value;
+ return m_storageArea->key(index);
}
String StorageAreaProxy::getItem(const String& key) const