| Index: third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
|
| diff --git a/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp b/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
|
| index f078654bf4ced475fa36c0bcdba70a9c60361c2c..384e7fbeafcf1315cdf2e3824f73ed85ba4acb17 100644
|
| --- a/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
|
| +++ b/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
|
| @@ -147,7 +147,7 @@ void NavigatorContentUtils::registerProtocolHandler(
|
| return;
|
|
|
| Document* document = navigator.GetFrame()->GetDocument();
|
| - ASSERT(document);
|
| + DCHECK(document);
|
|
|
| if (!VerifyCustomHandlerURL(*document, url, exception_state))
|
| return;
|
| @@ -195,7 +195,7 @@ String NavigatorContentUtils::isProtocolHandlerRegistered(
|
| return declined;
|
|
|
| Document* document = navigator.GetFrame()->GetDocument();
|
| - ASSERT(document);
|
| + DCHECK(document);
|
| if (document->IsContextDestroyed())
|
| return declined;
|
|
|
| @@ -220,7 +220,7 @@ void NavigatorContentUtils::unregisterProtocolHandler(
|
| return;
|
|
|
| Document* document = navigator.GetFrame()->GetDocument();
|
| - ASSERT(document);
|
| + DCHECK(document);
|
|
|
| if (!VerifyCustomHandlerURL(*document, url, exception_state))
|
| return;
|
|
|