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

Unified Diff: Source/modules/webdatabase/SQLResultSet.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/webdatabase/DatabaseManager.cpp ('k') | Source/modules/webdatabase/SQLTransaction.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/SQLResultSet.cpp
diff --git a/Source/modules/webdatabase/SQLResultSet.cpp b/Source/modules/webdatabase/SQLResultSet.cpp
index 0a1969d717018fe212eb66ae234fd464c7236640..b3e11544e630a8678e5f7f9665d6e5c60688bf76 100644
--- a/Source/modules/webdatabase/SQLResultSet.cpp
+++ b/Source/modules/webdatabase/SQLResultSet.cpp
@@ -47,11 +47,11 @@ SQLResultSet::SQLResultSet()
int64_t SQLResultSet::insertId(ExceptionCode& e) const
{
// 4.11.4 - Return the id of the last row inserted as a result of the query
- // If the query didn't result in any rows being added, raise an INVALID_ACCESS_ERR exception
+ // If the query didn't result in any rows being added, raise an InvalidAccessError exception
if (m_insertIdSet)
return m_insertId;
- e = INVALID_ACCESS_ERR;
+ e = InvalidAccessError;
return -1;
}
« no previous file with comments | « Source/modules/webdatabase/DatabaseManager.cpp ('k') | Source/modules/webdatabase/SQLTransaction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698