Index: third_party/WebKit/Source/core/dom/ExecutionContext.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp |
index 4251bcfb313dc117e60fa29e757f1e7e3ce0a0b4..c2e51cd3850d6d4a8f7cc2d6af4544b567fa6174 100644 |
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp |
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp |
@@ -153,14 +153,14 @@ void ExecutionContext::reportException(ErrorEvent* errorEvent, AccessControlStat |
// First report the original exception and only then all the nested ones. |
if (!dispatchErrorEvent(errorEvent, corsStatus)) |
- logExceptionToConsole(errorEvent->messageForConsole(), errorEvent->location()->clone()); |
+ exceptionThrown(errorEvent->messageForConsole(), errorEvent->location()->clone()); |
if (!m_pendingExceptions) |
return; |
for (size_t i = 0; i < m_pendingExceptions->size(); i++) { |
PendingException* e = m_pendingExceptions->at(i).get(); |
- logExceptionToConsole(e->m_errorMessage, std::move(e->m_location)); |
+ exceptionThrown(e->m_errorMessage, std::move(e->m_location)); |
} |
m_pendingExceptions.reset(); |
} |