| 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 d6b944a3ff19bd23d913db03c023773b31a79f99..c333accca322d8bfb4e0e6139d61e59d9bad1973 100644
|
| --- a/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
|
| +++ b/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
|
| @@ -39,11 +39,8 @@ WebThreadSupportingGC::WebThreadSupportingGC(const char* name,
|
| }
|
|
|
| WebThreadSupportingGC::~WebThreadSupportingGC() {
|
| - if (ThreadState::current() && m_owningThread) {
|
| - // WebThread's destructor blocks until all the tasks are processed.
|
| - SafePointScope scope(BlinkGC::HeapPointersOnStack);
|
| - m_owningThread.reset();
|
| - }
|
| + // WebThread's destructor blocks until all the tasks are processed.
|
| + m_owningThread.reset();
|
| }
|
|
|
| void WebThreadSupportingGC::initialize() {
|
|
|