| Index: third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp b/third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp
|
| index 93424e4c4f5e8b37871910ff796540b19f30cdcb..48d2db71ab3327ebce8bfba1c24ee07729153512 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMetaElement-in.cpp
|
| @@ -124,7 +124,7 @@ void HTMLMetaElement::parseContentAttribute(const String& content, void* data, D
|
| }
|
| valueEnd = i;
|
|
|
| - ASSERT_WITH_SECURITY_IMPLICATION(i <= length);
|
| + SECURITY_DCHECK(i <= length);
|
|
|
| String keyString = buffer.substring(keyBegin, keyEnd - keyBegin);
|
| String valueString = buffer.substring(valueBegin, valueEnd - valueBegin);
|
| @@ -384,7 +384,7 @@ static MessageLevel viewportErrorMessageLevel(ViewportErrorCode errorCode)
|
| return WarningMessageLevel;
|
| }
|
|
|
| - ASSERT_NOT_REACHED();
|
| + NOTREACHED();
|
| return ErrorMessageLevel;
|
| }
|
|
|
| @@ -417,7 +417,7 @@ void HTMLMetaElement::getViewportDescriptionFromContentAttribute(const String& c
|
| }
|
| void HTMLMetaElement::processViewportContentAttribute(const String& content, ViewportDescription::Type origin)
|
| {
|
| - ASSERT(!content.isNull());
|
| + DCHECK(!content.isNull());
|
|
|
| if (!document().shouldOverrideLegacyDescription(origin))
|
| return;
|
|
|