| Index: third_party/WebKit/Source/web/WebKit.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebKit.cpp b/third_party/WebKit/Source/web/WebKit.cpp
|
| index 4921ba561e3f7e7e50fefc688d7ef15a01a11409..73141c07eeb58940c990d2dccd765eae18a2cfec 100644
|
| --- a/third_party/WebKit/Source/web/WebKit.cpp
|
| +++ b/third_party/WebKit/Source/web/WebKit.cpp
|
| @@ -184,6 +184,8 @@ void shutdown()
|
| }
|
| #endif
|
|
|
| + ThreadState::current()->cleanupMainThread();
|
| +
|
| // currentThread() is null if we are running on a thread without a message loop.
|
| if (Platform::current()->currentThread()) {
|
| Platform::current()->unregisterMemoryDumpProvider(WebCacheMemoryDumpProvider::instance());
|
|
|