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

Unified Diff: Source/modules/webdatabase/DatabaseManager.cpp

Issue 72363002: Rename es => exceptionState in other than bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry Created 7 years, 1 month 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/DOMWindowWebDatabase.cpp ('k') | Source/modules/webdatabase/DatabaseSync.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 79bd1a0be67d7264747f516f1efd09956d97baab..60cd856f204ee283d30cad83cc4af211eeb06b6f 100644
--- a/Source/modules/webdatabase/DatabaseManager.cpp
+++ b/Source/modules/webdatabase/DatabaseManager.cpp
@@ -158,16 +158,16 @@ void DatabaseManager::didDestructDatabaseContext()
}
#endif
-void DatabaseManager::throwExceptionForDatabaseError(const String& method, const String& context, DatabaseError error, const String& errorMessage, ExceptionState& es)
+void DatabaseManager::throwExceptionForDatabaseError(const String& method, const String& context, DatabaseError error, const String& errorMessage, ExceptionState& exceptionState)
{
switch (error) {
case DatabaseError::None:
return;
case DatabaseError::GenericSecurityError:
- es.throwSecurityError(ExceptionMessages::failedToExecute(method, context, errorMessage));
+ exceptionState.throwSecurityError(ExceptionMessages::failedToExecute(method, context, errorMessage));
return;
case DatabaseError::InvalidDatabaseState:
- es.throwDOMException(InvalidStateError, ExceptionMessages::failedToExecute(method, context, errorMessage));
+ exceptionState.throwDOMException(InvalidStateError, ExceptionMessages::failedToExecute(method, context, errorMessage));
return;
default:
ASSERT_NOT_REACHED();
« no previous file with comments | « Source/modules/webdatabase/DOMWindowWebDatabase.cpp ('k') | Source/modules/webdatabase/DatabaseSync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698