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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBAny.cpp

Issue 2458003002: Remove ASSERT_WITH_SECURITY_IMPLICATION. (Closed)
Patch Set: Minor formatting fix Created 4 years, 2 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/IDBAny.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBAny.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBAny.cpp
index 0ccb02317eb3ea4f9a3721b6b396762c8309920e..32b3711a201c4148633ee31f3661b97c81297179 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBAny.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBAny.cpp
@@ -59,13 +59,13 @@ DOMStringList* IDBAny::domStringList() const {
IDBCursor* IDBAny::idbCursor() const {
ASSERT(m_type == IDBCursorType);
- ASSERT_WITH_SECURITY_IMPLICATION(m_idbCursor->isKeyCursor());
+ SECURITY_DCHECK(m_idbCursor->isKeyCursor());
return m_idbCursor.get();
}
IDBCursorWithValue* IDBAny::idbCursorWithValue() const {
ASSERT(m_type == IDBCursorWithValueType);
- ASSERT_WITH_SECURITY_IMPLICATION(m_idbCursor->isCursorWithValue());
+ SECURITY_DCHECK(m_idbCursor->isCursorWithValue());
return toIDBCursorWithValue(m_idbCursor.get());
}

Powered by Google App Engine
This is Rietveld 408576698