Chromium Code Reviews| Index: Source/core/dom/Document.cpp |
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
| index 374b38cd737e201164dc1ef6123a0c5d0a044689..98125f57e46284d9f05e031c9e1d9424d0d5ec7b 100644 |
| --- a/Source/core/dom/Document.cpp |
| +++ b/Source/core/dom/Document.cpp |
| @@ -3030,8 +3030,10 @@ void Document::processArguments(const String& features, void* data, ArgumentsCal |
| String valueString = buffer.substring(valueBegin, valueEnd - valueBegin); |
| callback(keyString, valueString, this, data); |
| } |
| - if (error) |
| - reportViewportWarning(this, InvalidKeyValuePairSeparatorError, String(), String()); |
| + if (error) { |
| + String message = "Error parsing a meta element's content: ';' is not a valid key-value pair separator. Please use ',' instead."; |
| + addConsoleMessage(RenderingMessageSource, WarningMessageLevel, message); |
|
Mike West
2013/09/06 12:33:27
Nit: If you don't mind, just inline this. There's
|
| + } |
| } |
| void Document::processViewport(const String& features, ViewportArguments::Type origin) |