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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2724243002: Replace ASSERT and ASSERT_NOT_REACHED with DCHECK and NOTREACHED in core/testing/. (Closed)
Patch Set: 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/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index 35e1d0a8497233aed51ed4e54aede63ff8dd12ff..ac589d60c61b03d9f7a850e9d48cac0cc22ec765 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -812,7 +812,7 @@ String Internals::shadowRootType(const Node* root,
case ShadowRootType::Closed:
return String("ClosedShadowRoot");
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return String("Unknown");
}
}
@@ -2563,7 +2563,7 @@ static const char* cursorTypeToString(Cursor::Type cursorType) {
return "Custom";
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return "UNKNOWN";
}
« no previous file with comments | « third_party/WebKit/Source/core/testing/GCObservation.cpp ('k') | third_party/WebKit/Source/core/testing/UnionTypesTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698