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

Unified Diff: third_party/WebKit/Source/core/dom/TreeScope.cpp

Issue 2727843003: Replace RELEASE_ASSERT with CHECK in core/{dom,editing,html} (Closed)
Patch Set: Add a comment Created 3 years, 10 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/core/dom/TreeScope.cpp
diff --git a/third_party/WebKit/Source/core/dom/TreeScope.cpp b/third_party/WebKit/Source/core/dom/TreeScope.cpp
index c8373ddb8497ade8c5652a920f6d819d1861ef1f..b6dd4eaa9472bcee688d662163d448121a7456c6 100644
--- a/third_party/WebKit/Source/core/dom/TreeScope.cpp
+++ b/third_party/WebKit/Source/core/dom/TreeScope.cpp
@@ -107,7 +107,7 @@ void TreeScope::setParentTreeScope(TreeScope& newParentScope) {
}
ScopedStyleResolver& TreeScope::ensureScopedStyleResolver() {
- RELEASE_ASSERT(this);
+ CHECK(this);
if (!m_scopedStyleResolver)
m_scopedStyleResolver = ScopedStyleResolver::create(*this);
return *m_scopedStyleResolver;

Powered by Google App Engine
This is Rietveld 408576698