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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.h

Issue 2801893008: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in modules/indexeddb (Closed)
Patch Set: rebase Created 3 years, 8 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
Index: third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.h b/third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.h
index a54481a2a846ec9387990e87974cd17329a03534..ecf126e6323456ceccf398bca5908f7d3ddb9aba 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.h
@@ -61,12 +61,12 @@ class MODULES_EXPORT IDBKeyPath {
Type GetType() const { return type_; }
const Vector<String>& Array() const {
- ASSERT(type_ == kArrayType);
+ DCHECK_EQ(type_, kArrayType);
return array_;
}
const String& GetString() const {
- ASSERT(type_ == kStringType);
+ DCHECK_EQ(type_, kStringType);
return string_;
}
« no previous file with comments | « third_party/WebKit/Source/modules/indexeddb/IDBKey.cpp ('k') | third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698