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

Unified Diff: third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp

Issue 2879773002: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules (Closed)
Patch Set: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules Created 3 years, 7 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/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
diff --git a/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp b/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
index a58c06581a3262a08c0a049fadfaed411c5bba53..9d8278a9647a210b906045fc440b2202e216d3e0 100644
--- a/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
+++ b/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp
@@ -15,7 +15,8 @@ namespace blink {
void InternalsNavigatorContentUtils::setNavigatorContentUtilsClientMock(
Internals&,
Document* document) {
- ASSERT(document && document->GetPage());
+ DCHECK(document);
+ DCHECK(document->GetPage());
NavigatorContentUtils* navigator_content_utils =
NavigatorContentUtils::From(*document->domWindow()->navigator());
navigator_content_utils->SetClientForTest(

Powered by Google App Engine
This is Rietveld 408576698