Chromium Code Reviews| Index: Source/bindings/core/v8/RejectedPromises.cpp |
| diff --git a/Source/bindings/core/v8/RejectedPromises.cpp b/Source/bindings/core/v8/RejectedPromises.cpp |
| index da8c256eb49363300cfdb8cae1a1a1e825ff8882..3ed8d247ee5d1659fbe25554de1e4a079984cff1 100644 |
| --- a/Source/bindings/core/v8/RejectedPromises.cpp |
| +++ b/Source/bindings/core/v8/RejectedPromises.cpp |
| @@ -94,7 +94,6 @@ public: |
| } |
| m_callStack.clear(); |
| - m_exception.clear(); |
|
jochen (gone - plz use gerrit)
2015/06/29 07:17:48
without removing this line, m_exception would not
|
| } |
| void revoke() |
| @@ -115,7 +114,7 @@ public: |
| init.setPromise(ScriptPromise(m_scriptState, value)); |
| init.setReason(m_exception); |
| RefPtrWillBeRawPtr<PromiseRejectionEvent> event = PromiseRejectionEvent::create(m_scriptState, EventTypeNames::rejectionhandled, init); |
| - m_shouldLogToConsole &= target->dispatchEvent(event); |
| + target->dispatchEvent(event); |
| } |
| if (m_shouldLogToConsole) { |