Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(512)

Unified Diff: Source/core/frame/PlatformEventDispatcher.cpp

Issue 952813002: InlinedVisitor: Migrate frame to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
}

Powered by Google App Engine
This is Rietveld 408576698