| Index: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| index a11afccdaa3ea0d81ba86bf8c8f0d604fc2c358e..8573e0d8e07e51349b9492646d79a2c7aac84ee0 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| @@ -654,10 +654,10 @@ void FrameFetchContext::sendImagePing(const KURL& url)
|
| PingLoader::loadImage(frame(), url);
|
| }
|
|
|
| -void FrameFetchContext::addConsoleMessage(const String& message) const
|
| +void FrameFetchContext::addConsoleMessage(const String& message, MessageLevel level) const
|
| {
|
| if (frame()->document())
|
| - frame()->document()->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, message));
|
| + frame()->document()->addConsoleMessage(ConsoleMessage::create(JSMessageSource, level, message));
|
| }
|
|
|
| SecurityOrigin* FrameFetchContext::getSecurityOrigin() const
|
|
|