| Index: third_party/WebKit/Source/bindings/core/v8/ScriptPromiseTest.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseTest.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseTest.cpp
|
| index 7146ae52bb7f5875f4343a7e35da23b3a4499a0c..21e908eb88a924652607521598edfef6fbc6fb3b 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseTest.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseTest.cpp
|
| @@ -46,8 +46,6 @@ namespace {
|
|
|
| typedef ScriptPromise::InternalResolver Resolver;
|
|
|
| -void callback(const v8::FunctionCallbackInfo<v8::Value>& info) { }
|
| -
|
| class Function : public ScriptFunction {
|
| public:
|
| static v8::Local<v8::Function> createFunction(ScriptState* scriptState, ScriptValue* output)
|
| @@ -83,9 +81,6 @@ public:
|
|
|
| ~TryCatchScope()
|
| {
|
| - // FIXME: We put this statement here to clear an exception from the isolate.
|
| - createClosure(callback, v8::Undefined(m_isolate), m_isolate);
|
| -
|
| // Execute all pending microtasks
|
| v8::MicrotasksScope::PerformCheckpoint(m_isolate);
|
| }
|
|
|