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

Unified Diff: third_party/WebKit/Source/modules/plugins/NavigatorPlugins.cpp

Issue 1846913009: HeapSupplements are now just Supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/modules/plugins/NavigatorPlugins.cpp
diff --git a/third_party/WebKit/Source/modules/plugins/NavigatorPlugins.cpp b/third_party/WebKit/Source/modules/plugins/NavigatorPlugins.cpp
index 4342eeb331c8280068c3098a8bbc989e8672af9c..ca749f48c03c88cc15948b39b7e70a7539f5e73c 100644
--- a/third_party/WebKit/Source/modules/plugins/NavigatorPlugins.cpp
+++ b/third_party/WebKit/Source/modules/plugins/NavigatorPlugins.cpp
@@ -35,7 +35,7 @@ NavigatorPlugins& NavigatorPlugins::from(Navigator& navigator)
// static
NavigatorPlugins* NavigatorPlugins::toNavigatorPlugins(Navigator& navigator)
{
- return static_cast<NavigatorPlugins*>(HeapSupplement<Navigator>::from(navigator, supplementName()));
+ return static_cast<NavigatorPlugins*>(Supplement<Navigator>::from(navigator, supplementName()));
}
// static
@@ -80,7 +80,7 @@ DEFINE_TRACE(NavigatorPlugins)
{
visitor->trace(m_plugins);
visitor->trace(m_mimeTypes);
- HeapSupplement<Navigator>::trace(visitor);
+ Supplement<Navigator>::trace(visitor);
DOMWindowProperty::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698