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

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

Issue 2401523002: Replace ASSERT family with DCHECK and so on in core/dom/. (Closed)
Patch Set: Created 4 years, 2 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/StyleSheetCandidate.cpp
diff --git a/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp b/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp
index b1e44e05736e707c0fe161645ca49af3e71359d7..6c771313f447c92ce7f23ba03ba7c248c467d84d 100644
--- a/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp
+++ b/third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp
@@ -109,14 +109,14 @@ StyleSheetCandidate::Type StyleSheetCandidate::typeOf(Node& node) {
if (isHTMLStyleElement(node))
return HTMLStyle;
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return HTMLStyle;
}
if (isSVGStyleElement(node))
return SVGStyle;
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return HTMLStyle;
}
@@ -132,7 +132,7 @@ StyleSheet* StyleSheetCandidate::sheet() const {
return toProcessingInstruction(node()).sheet();
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/SpaceSplitString.h ('k') | third_party/WebKit/Source/core/dom/TagCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698