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

Unified Diff: third_party/WebKit/Source/platform/wtf/text/AtomicStringTable.cpp

Issue 2833123002: Replace ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/wtf (Closed)
Patch Set: wtf 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/platform/wtf/text/AtomicStringTable.cpp
diff --git a/third_party/WebKit/Source/platform/wtf/text/AtomicStringTable.cpp b/third_party/WebKit/Source/platform/wtf/text/AtomicStringTable.cpp
index df7ab02d57d98fa9f0187669367b4404e2f0bf0c..4a53f2c5c33c61cb349aa9291d1aae1d0c070167 100644
--- a/third_party/WebKit/Source/platform/wtf/text/AtomicStringTable.cpp
+++ b/third_party/WebKit/Source/platform/wtf/text/AtomicStringTable.cpp
@@ -214,7 +214,7 @@ PassRefPtr<StringImpl> AtomicStringTable::AddUTF8(const char* characters_start,
void AtomicStringTable::Remove(StringImpl* string) {
DCHECK(string->IsAtomic());
auto iterator = table_.Find(string);
- RELEASE_ASSERT(iterator != table_.end());
+ CHECK_NE(iterator, table_.end());
table_.erase(iterator);
}
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/dtoa/utils.h ('k') | third_party/WebKit/Source/platform/wtf/text/CString.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698