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

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

Issue 2817533003: Replace ASSERT, RELEASE_ASSERT, and ASSERT_NOT_REACHED in bindings (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/bindings/core/v8/DocumentWriteEvaluator.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp b/third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp
index 7a5777356c2b31c603efb185f2fc129b6b2e1220..7bc85fa2ecc001d1805f7f12671ee7897ae9425f 100644
--- a/third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp
@@ -73,7 +73,7 @@ bool DocumentWriteEvaluator::EnsureEvaluationContext() {
if (!persistent_context_.IsEmpty())
return false;
TRACE_EVENT0("blink", "DocumentWriteEvaluator::initializeEvaluationContext");
- ASSERT(persistent_context_.IsEmpty());
+ DCHECK(persistent_context_.IsEmpty());
v8::Isolate* isolate = V8PerIsolateData::MainThreadIsolate();
v8::Isolate::Scope isolate_scope(isolate);
v8::HandleScope handle_scope(isolate);

Powered by Google App Engine
This is Rietveld 408576698