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

Unified Diff: third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: All windows error are Resolved now. Created 3 years, 9 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/css/PropertySetCSSStyleDeclaration.cpp
diff --git a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp
index 0491cd07d4b7ad94e7729b11a84e526dcd3824e5..83cbb6a7f139982068f98c90c98461921f66865e 100644
--- a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp
+++ b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp
@@ -62,11 +62,11 @@ class StyleAttributeMutationScope {
++s_scopeCount;
if (s_scopeCount != 1) {
- ASSERT(s_currentDecl == decl);
+ DCHECK_EQ(s_currentDecl, decl);
return;
}
- ASSERT(!s_currentDecl);
+ DCHECK(!s_currentDecl);
s_currentDecl = decl;
if (!s_currentDecl->parentElement())

Powered by Google App Engine
This is Rietveld 408576698