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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8IdleTaskRunner.h

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/V8IdleTaskRunner.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8IdleTaskRunner.h b/third_party/WebKit/Source/bindings/core/v8/V8IdleTaskRunner.h
index 9df6c7b166a58a11f040c0b756124086c91f3e31..f92ca96a6346977a4f532aeddb4eaf8b5baa71ca 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8IdleTaskRunner.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8IdleTaskRunner.h
@@ -59,7 +59,7 @@ class V8IdleTaskRunner : public gin::V8IdleTaskRunner {
V8IdleTaskRunner(WebScheduler* scheduler) : scheduler_(scheduler) {}
~V8IdleTaskRunner() override {}
void PostIdleTask(v8::IdleTask* task) override {
- ASSERT(RuntimeEnabledFeatures::v8IdleTasksEnabled());
+ DCHECK(RuntimeEnabledFeatures::v8IdleTasksEnabled());
scheduler_->PostIdleTask(BLINK_FROM_HERE, new V8IdleTaskAdapter(task));
}

Powered by Google App Engine
This is Rietveld 408576698