Remove unused RunMicrotasksObserver
https://chromium-review.googlesource.com/c/chromium/src/+/1086889
This commit is contained in:
Родитель
9e110ec915
Коммит
0955fa7bcf
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче