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

Unified Diff: Source/modules/indexeddb/IDBRequest.cpp

Issue 18548003: Rename ExceptionCode constants to use the names in the spec (2/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
« no previous file with comments | « Source/modules/indexeddb/IDBObjectStore.cpp ('k') | Source/modules/indexeddb/IDBTransaction.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBRequest.cpp
diff --git a/Source/modules/indexeddb/IDBRequest.cpp b/Source/modules/indexeddb/IDBRequest.cpp
index af232a8109f7ff5e9c80428f02cc53c026e9ff92..4acc896144493247e13bdc7e41bf5d78200d375c 100644
--- a/Source/modules/indexeddb/IDBRequest.cpp
+++ b/Source/modules/indexeddb/IDBRequest.cpp
@@ -95,7 +95,7 @@ IDBRequest::~IDBRequest()
PassRefPtr<IDBAny> IDBRequest::result(ExceptionCode& ec) const
{
if (m_readyState != DONE) {
- ec = INVALID_STATE_ERR;
+ ec = InvalidStateError;
return 0;
}
return m_result;
@@ -104,7 +104,7 @@ PassRefPtr<IDBAny> IDBRequest::result(ExceptionCode& ec) const
PassRefPtr<DOMError> IDBRequest::error(ExceptionCode& ec) const
{
if (m_readyState != DONE) {
- ec = INVALID_STATE_ERR;
+ ec = InvalidStateError;
return 0;
}
return m_error;
« no previous file with comments | « Source/modules/indexeddb/IDBObjectStore.cpp ('k') | Source/modules/indexeddb/IDBTransaction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698