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

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

Issue 24469004: Amusingly deprecate the generic version of 'ExceptionState::throwDOMException'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/DatabaseSync.cpp ('k') | Source/modules/webdatabase/SQLStatementSync.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 0fb72d7fe4e9a84ef874ed6f6aab9b13b8dc037b..80d3175b08a31cae62bdb20563e19d8ef023002e 100644
--- a/Source/modules/webdatabase/SQLResultSet.cpp
+++ b/Source/modules/webdatabase/SQLResultSet.cpp
@@ -52,7 +52,7 @@ int64_t SQLResultSet::insertId(ExceptionState& es) const
if (m_insertIdSet)
return m_insertId;
- es.throwDOMException(InvalidAccessError);
+ es.throwUninformativeAndGenericDOMException(InvalidAccessError);
return -1;
}
« no previous file with comments | « Source/modules/webdatabase/DatabaseSync.cpp ('k') | Source/modules/webdatabase/SQLStatementSync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698