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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.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/V0CustomElementBinding.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.cpp b/third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.cpp
index 6d36f4b6e14dd3229df9b34f73caca632ad84db6..bf2ee60244b978cdf2331408566deb0e8b4b16ad 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V0CustomElementBinding.cpp
@@ -44,7 +44,7 @@ std::unique_ptr<V0CustomElementBinding> V0CustomElementBinding::Create(
V0CustomElementBinding::V0CustomElementBinding(v8::Isolate* isolate,
v8::Local<v8::Object> prototype)
: prototype_(isolate, prototype) {
- ASSERT(!prototype_.IsEmpty());
+ DCHECK(!prototype_.IsEmpty());
}
V0CustomElementBinding::~V0CustomElementBinding() {}

Powered by Google App Engine
This is Rietveld 408576698