Index: Source/core/css/parser/BisonCSSParser-in.cpp |
diff --git a/Source/core/css/parser/BisonCSSParser-in.cpp b/Source/core/css/parser/BisonCSSParser-in.cpp |
index 8b7134736b308d789d2e8df98ed8ec4f79543ba7..75799548ed21f501488bcfd6a60d30dfcc5420cd 100644 |
--- a/Source/core/css/parser/BisonCSSParser-in.cpp |
+++ b/Source/core/css/parser/BisonCSSParser-in.cpp |
@@ -77,6 +77,7 @@ |
#include "core/frame/Settings.h" |
#include "core/frame/UseCounter.h" |
#include "core/html/parser/HTMLParserIdioms.h" |
+#include "core/inspector/ConsoleMessage.h" |
#include "core/inspector/InspectorInstrumentation.h" |
#include "core/rendering/RenderTheme.h" |
#include "platform/FloatConversion.h" |
@@ -1737,7 +1738,7 @@ void BisonCSSParser::logError(const String& message, const CSSParserLocation& lo |
lineNumberInStyleSheet = location.lineNumber; |
} |
FrameConsole& console = m_styleSheet->singleOwnerDocument()->frame()->console(); |
- console.addMessage(CSSMessageSource, WarningMessageLevel, message, m_styleSheet->baseURL().string(), lineNumberInStyleSheet + m_startPosition.m_line.zeroBasedInt() + 1, columnNumber + 1); |
+ console.addMessage(ConsoleMessage::create(CSSMessageSource, WarningMessageLevel, message, m_styleSheet->baseURL().string(), lineNumberInStyleSheet + m_startPosition.m_line.zeroBasedInt() + 1, columnNumber + 1)); |
} |
StyleRuleKeyframes* BisonCSSParser::createKeyframesRule(const String& name, PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<StyleKeyframe> > > popKeyframes, bool isPrefixed) |