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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8DOMActivityLogger.cpp

Issue 2817533003: Replace ASSERT, RELEASE_ASSERT, and ASSERT_NOT_REACHED in bindings (Closed)
Patch Set: fixed dcheck build error 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/bindings/core/v8/V8DOMActivityLogger.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8DOMActivityLogger.cpp b/third_party/WebKit/Source/bindings/core/v8/V8DOMActivityLogger.cpp
index a0c3e1c4719389d7d5c41c119cd2c82302f874a7..c36709a21b6ad726b24564caf94de9499c60cf2c 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8DOMActivityLogger.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8DOMActivityLogger.cpp
@@ -21,14 +21,14 @@ typedef HashMap<int,
DOMActivityLoggerMapForIsolatedWorld;
static DOMActivityLoggerMapForMainWorld& DomActivityLoggersForMainWorld() {
- ASSERT(IsMainThread());
+ DCHECK(IsMainThread());
DEFINE_STATIC_LOCAL(DOMActivityLoggerMapForMainWorld, map, ());
return map;
}
static DOMActivityLoggerMapForIsolatedWorld&
DomActivityLoggersForIsolatedWorld() {
- ASSERT(IsMainThread());
+ DCHECK(IsMainThread());
DEFINE_STATIC_LOCAL(DOMActivityLoggerMapForIsolatedWorld, map, ());
return map;
}

Powered by Google App Engine
This is Rietveld 408576698