From 0955fa7bcf87a369e823dd89914d2509b1159303 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Tue, 2 Oct 2018 15:12:03 -0700 Subject: [PATCH] Remove unused RunMicrotasksObserver https://chromium-review.googlesource.com/c/chromium/src/+/1086889 --- atom/browser/javascript_environment.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/atom/browser/javascript_environment.cc b/atom/browser/javascript_environment.cc index cbf7bdec2..5e81c001d 100644 --- a/atom/browser/javascript_environment.cc +++ b/atom/browser/javascript_environment.cc @@ -31,13 +31,9 @@ JavascriptEnvironment::JavascriptEnvironment() JavascriptEnvironment::~JavascriptEnvironment() = default; -void JavascriptEnvironment::OnMessageLoopCreated() { - isolate_holder_.AddRunMicrotasksObserver(); -} +void JavascriptEnvironment::OnMessageLoopCreated() {} -void JavascriptEnvironment::OnMessageLoopDestroying() { - isolate_holder_.RemoveRunMicrotasksObserver(); -} +void JavascriptEnvironment::OnMessageLoopDestroying() {} bool JavascriptEnvironment::Initialize() { auto* cmd = base::CommandLine::ForCurrentProcess();