Chromium Code Reviews| 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..e389ea774f3e6c5f0028670437a1054d2afabd84 100644 |
| --- a/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp |
| +++ b/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp |
| @@ -15,7 +15,7 @@ namespace blink { |
| void InternalsNavigatorContentUtils::setNavigatorContentUtilsClientMock( |
| Internals&, |
| Document* document) { |
| - ASSERT(document && document->GetPage()); |
| + DCHECK(document && document->GetPage()); |
|
tkent
2017/05/12 09:04:37
Split this into two DCHECKs
|
| NavigatorContentUtils* navigator_content_utils = |
| NavigatorContentUtils::From(*document->domWindow()->navigator()); |
| navigator_content_utils->SetClientForTest( |