Chromium Code Reviews| Index: Source/core/events/PromiseRejectionEvent.h |
| diff --git a/Source/core/events/PromiseRejectionEvent.h b/Source/core/events/PromiseRejectionEvent.h |
| index 40d347f445fc666d27c88102a09e1c3c918a55ab..63784198e73ccd689afcd066abc10c4cefc71c2f 100644 |
| --- a/Source/core/events/PromiseRejectionEvent.h |
| +++ b/Source/core/events/PromiseRejectionEvent.h |
| @@ -6,8 +6,6 @@ |
| #define PromiseRejectionEvent_h |
| #include "bindings/core/v8/ScopedPersistent.h" |
| -#include "bindings/core/v8/ScriptPromise.h" |
| -#include "bindings/core/v8/ScriptValue.h" |
| #include "core/CoreExport.h" |
| #include "core/events/Event.h" |
| #include "core/events/PromiseRejectionEventInit.h" |
| @@ -26,8 +24,8 @@ public: |
| return adoptRefWillBeNoop(new PromiseRejectionEvent(type, initializer)); |
| } |
| - ScriptValue reason(ScriptState*) const; |
| - ScriptPromise promise(ScriptState*) const; |
| + v8::Local<v8::Value> reason(v8::Isolate*) const; |
| + v8::Local<v8::Value> promise(v8::Isolate*) const; |
|
haraken
2015/06/18 17:52:09
Can we keep returning ScriptValue and ScriptPromis
|
| virtual const AtomicString& interfaceName() const override; |