| Index: third_party/WebKit/Source/core/frame/FrameConsole.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameConsole.cpp b/third_party/WebKit/Source/core/frame/FrameConsole.cpp
|
| index 77bf4677623341bebe60005789520f24a878367b..3d3a549625fcc84fc20bb48bd166413fe43440a2 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameConsole.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameConsole.cpp
|
| @@ -100,6 +100,13 @@ void FrameConsole::addMessageFromWorker(
|
| level, message, std::move(location), workerId));
|
| }
|
|
|
| +void FrameConsole::addSingletonMessage(ConsoleMessage* consoleMessage) {
|
| + if (m_singletonMessages.contains(consoleMessage->message()))
|
| + return;
|
| + m_singletonMessages.add(consoleMessage->message());
|
| + addMessage(consoleMessage);
|
| +}
|
| +
|
| void FrameConsole::reportResourceResponseReceived(
|
| DocumentLoader* loader,
|
| unsigned long requestIdentifier,
|
|
|