| Index: third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
|
| diff --git a/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp b/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
|
| index 070b2cf9ea7dbe28414da02a321ef22e1e92a763..00f39c38c22966f17080336b9a119740d45842a6 100644
|
| --- a/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
|
| +++ b/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
|
| @@ -47,7 +47,7 @@ WebThreadSupportingGC::~WebThreadSupportingGC()
|
|
|
| void WebThreadSupportingGC::initialize()
|
| {
|
| - ThreadState::attach();
|
| + ThreadState::attachCurrentThread();
|
| m_gcTaskRunner = adoptPtr(new GCTaskRunner(m_thread));
|
| }
|
|
|
| @@ -64,7 +64,7 @@ void WebThreadSupportingGC::shutdown()
|
| if (m_owningThread)
|
| m_owningThread->scheduler()->shutdown();
|
|
|
| - ThreadState::detach();
|
| + ThreadState::detachCurrentThread();
|
| }
|
|
|
| } // namespace blink
|
|
|