Index: Source/core/frame/PlatformEventDispatcher.cpp |
diff --git a/Source/core/frame/PlatformEventDispatcher.cpp b/Source/core/frame/PlatformEventDispatcher.cpp |
index 7cd841e00d7a87728bffd415ab82efba4cfaab70..e343688e4934086d1a2adbe49ea65250effffe3b 100644 |
--- a/Source/core/frame/PlatformEventDispatcher.cpp |
+++ b/Source/core/frame/PlatformEventDispatcher.cpp |
@@ -80,12 +80,12 @@ void PlatformEventDispatcher::notifyControllers() |
purgeControllers(); |
} |
-void PlatformEventDispatcher::trace(Visitor* visitor) |
+DEFINE_TRACE(PlatformEventDispatcher) |
{ |
#if ENABLE(OILPAN) |
// Trace the backing store, the weak(&bare) element references won't be. |
visitor->trace(m_controllers); |
- visitor->registerWeakMembers<PlatformEventDispatcher, &PlatformEventDispatcher::clearWeakMembers>(this); |
+ visitor->template registerWeakMembers<PlatformEventDispatcher, &PlatformEventDispatcher::clearWeakMembers>(this); |
#endif |
} |