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

Unified Diff: Source/modules/webdatabase/DatabaseManager.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/DatabaseBackendBase.cpp ('k') | Source/modules/webdatabase/SQLResultSet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseManager.cpp
diff --git a/Source/modules/webdatabase/DatabaseManager.cpp b/Source/modules/webdatabase/DatabaseManager.cpp
index 6bf6455acedfb6c2b5397b1edae57d789bb8f15e..c56b1696ec4428590ecb42ff03ffa535457152ca 100644
--- a/Source/modules/webdatabase/DatabaseManager.cpp
+++ b/Source/modules/webdatabase/DatabaseManager.cpp
@@ -165,9 +165,9 @@ ExceptionCode DatabaseManager::exceptionCodeForDatabaseError(DatabaseError error
case DatabaseError::DatabaseSizeExceededQuota:
case DatabaseError::DatabaseSizeOverflowed:
case DatabaseError::GenericSecurityError:
- return SECURITY_ERR;
+ return SecurityError;
case DatabaseError::InvalidDatabaseState:
- return INVALID_STATE_ERR;
+ return InvalidStateError;
}
ASSERT_NOT_REACHED();
return 0; // Make some older compilers happy.
« no previous file with comments | « Source/modules/webdatabase/DatabaseBackendBase.cpp ('k') | Source/modules/webdatabase/SQLResultSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698