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

Unified Diff: Source/modules/webdatabase/DOMWindowWebDatabase.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/webaudio/WaveShaperNode.cpp ('k') | Source/modules/webdatabase/DatabaseBackendBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DOMWindowWebDatabase.cpp
diff --git a/Source/modules/webdatabase/DOMWindowWebDatabase.cpp b/Source/modules/webdatabase/DOMWindowWebDatabase.cpp
index 432e47a5667607e82e4b2ac738f2db7b1d778e9f..b4652b3bc67b1086d2bc8d88771bb4c872fbaa16 100644
--- a/Source/modules/webdatabase/DOMWindowWebDatabase.cpp
+++ b/Source/modules/webdatabase/DOMWindowWebDatabase.cpp
@@ -51,8 +51,9 @@ PassRefPtr<Database> DOMWindowWebDatabase::openDatabase(DOMWindow* window, const
database = dbManager.openDatabase(window->document(), name, version, displayName, estimatedSize, creationCallback, error);
ASSERT(database || error != DatabaseError::None);
ec = DatabaseManager::exceptionCodeForDatabaseError(error);
- } else
- ec = SECURITY_ERR;
+ } else {
+ ec = SecurityError;
+ }
return database;
}
« no previous file with comments | « Source/modules/webaudio/WaveShaperNode.cpp ('k') | Source/modules/webdatabase/DatabaseBackendBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698