Index: Source/web/WebKit.cpp |
diff --git a/Source/web/WebKit.cpp b/Source/web/WebKit.cpp |
index 4a8554ac9be8862df26a553d92978e4d2e6de223..1f04d3f54b969953f38ae4c53a6c27a3c84a49ff 100644 |
--- a/Source/web/WebKit.cpp |
+++ b/Source/web/WebKit.cpp |
@@ -207,7 +207,6 @@ void shutdown() |
ASSERT(s_isolateInterruptor); |
blink::ThreadState::current()->removeInterruptor(s_isolateInterruptor); |
- blink::Scheduler::shutdown(); |
// currentThread will always be non-null in production, but can be null in Chromium unit tests. |
if (Platform::current()->currentThread()) { |
@@ -239,6 +238,7 @@ void shutdownWithoutV8() |
blink::CoreInitializer::shutdown(); |
blink::Heap::shutdown(); |
WTF::shutdown(); |
+ blink::Scheduler::shutdown(); |
Platform::shutdown(); |
WebPrerenderingSupport::shutdown(); |
} |