Index: third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp |
index e1f7e55d10196a025f46719ad2c418adc7e42e5e..052d4158a64211714fc70b4bf5bd735b74adae38 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp |
@@ -18,8 +18,6 @@ namespace blink { |
namespace { |
-void callback(const v8::FunctionCallbackInfo<v8::Value>& info) { } |
- |
class Function : public ScriptFunction { |
public: |
static v8::Local<v8::Function> createFunction(ScriptState* scriptState, String* value) |
@@ -54,11 +52,6 @@ public: |
~ScriptPromiseResolverTest() override |
{ |
- ScriptState::Scope scope(getScriptState()); |
- // FIXME: We put this statement here to clear an exception from the |
- // isolate. |
- createClosure(callback, v8::Undefined(isolate()), isolate()); |
- |
// Execute all pending microtasks |
v8::MicrotasksScope::PerformCheckpoint(isolate()); |
} |