Index: third_party/WebKit/Source/core/dom/ExecutionContext.h |
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.h b/third_party/WebKit/Source/core/dom/ExecutionContext.h |
index b558c61282e2082b8432e3b060d84f0e5a064283..bd6b16df3a909cc47e6b4d537d1bcf426bc88b12 100644 |
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.h |
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.h |
@@ -106,7 +106,7 @@ public: |
void reportException(ErrorEvent*, AccessControlStatus); |
virtual void addConsoleMessage(ConsoleMessage*) = 0; |
- virtual void exceptionThrown(const String& errorMessage, std::unique_ptr<SourceLocation>) = 0; |
+ virtual void exceptionThrown(ErrorEvent*) = 0; |
PublicURLManager& publicURLManager(); |
@@ -170,8 +170,7 @@ private: |
unsigned m_circularSequentialID; |
bool m_inDispatchErrorEvent; |
- class PendingException; |
- std::unique_ptr<Vector<std::unique_ptr<PendingException>>> m_pendingExceptions; |
+ HeapVector<Member<ErrorEvent>> m_pendingExceptions; |
bool m_activeDOMObjectsAreSuspended; |
bool m_activeDOMObjectsAreStopped; |