| Index: Source/core/frame/PlatformEventDispatcher.cpp
|
| diff --git a/Source/core/frame/PlatformEventDispatcher.cpp b/Source/core/frame/PlatformEventDispatcher.cpp
|
| index a104bae1b97131493c9a2b2ce09166050706e92e..b588df26190466b88d871cbc12c42ad46145b881 100644
|
| --- a/Source/core/frame/PlatformEventDispatcher.cpp
|
| +++ b/Source/core/frame/PlatformEventDispatcher.cpp
|
| @@ -93,7 +93,7 @@ DEFINE_TRACE(PlatformEventDispatcher)
|
| void PlatformEventDispatcher::clearWeakMembers(Visitor* visitor)
|
| {
|
| for (size_t i = 0; i < m_controllers.size(); ++i) {
|
| - if (!visitor->isHeapObjectAlive(m_controllers[i])) {
|
| + if (!Heap::isHeapObjectAlive(m_controllers[i])) {
|
| m_controllers[i] = nullptr;
|
| m_needsPurge = true;
|
| }
|
|
|