| Index: third_party/WebKit/Source/platform/WaitableEvent.cpp
|
| diff --git a/third_party/WebKit/Source/platform/WaitableEvent.cpp b/third_party/WebKit/Source/platform/WaitableEvent.cpp
|
| index 9bb284310ebb9fc30a1246899bcefe252a55585d..d06e20b32f8995ecaa2c903a4597815bf8d23609 100644
|
| --- a/third_party/WebKit/Source/platform/WaitableEvent.cpp
|
| +++ b/third_party/WebKit/Source/platform/WaitableEvent.cpp
|
| @@ -30,15 +30,7 @@ void WaitableEvent::reset() {
|
| }
|
|
|
| void WaitableEvent::wait() {
|
| - if (ThreadState::current()) {
|
| - // We only enter a safe point scope if the thread is attached, ex. never
|
| - // during shutdown.
|
| - // TODO(esprehn): Why can't SafePointScope do this for us?
|
| - SafePointScope scope(BlinkGC::HeapPointersOnStack);
|
| - m_impl->Wait();
|
| - } else {
|
| - m_impl->Wait();
|
| - }
|
| + m_impl->Wait();
|
| }
|
|
|
| void WaitableEvent::signal() {
|
|
|