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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/Dictionary.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/Dictionary.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/Dictionary.h b/third_party/WebKit/Source/bindings/core/v8/Dictionary.h
index 31ac02347805bbb7c996ec592d32ccc3c409aecc..4b6a68ee23fafe518a7a05d1453c06a03014f110 100644
--- a/third_party/WebKit/Source/bindings/core/v8/Dictionary.h
+++ b/third_party/WebKit/Source/bindings/core/v8/Dictionary.h
@@ -86,7 +86,7 @@ class CORE_EXPORT Dictionary final {
v8::Isolate* GetIsolate() const { return isolate_; }
v8::Local<v8::Context> V8Context() const {
- ASSERT(isolate_);
+ DCHECK(isolate_);
return isolate_->GetCurrentContext();
}

Powered by Google App Engine
This is Rietveld 408576698