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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/custom/V8IntersectionObserverCustom.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/custom/V8IntersectionObserverCustom.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8IntersectionObserverCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8IntersectionObserverCustom.cpp
index 6ec317bc9eb77d856b53ee0b1df2ec8ba3676330..8a4ad2f48be8564e086cda77fd3177774ae18dcf 100644
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8IntersectionObserverCustom.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8IntersectionObserverCustom.cpp
@@ -54,7 +54,7 @@ void V8IntersectionObserver::constructorCustom(
intersection_observer_init, *callback, exception_state);
if (exception_state.HadException())
return;
- ASSERT(observer);
+ DCHECK(observer);
V8SetReturnValue(info,
V8DOMWrapper::AssociateObjectWithWrapper(
info.GetIsolate(), observer, &wrapperTypeInfo, wrapper));

Powered by Google App Engine
This is Rietveld 408576698