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

Unified Diff: third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.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/netinfo/WorkerNavigatorNetworkInformation.cpp
diff --git a/third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.cpp b/third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.cpp
index 03ac7835270084322452bd67bf244c25e6fd56f2..0a4a48dde10f479ae1c946e132249e94b0366937 100644
--- a/third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.cpp
+++ b/third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.cpp
@@ -25,7 +25,7 @@ WorkerNavigatorNetworkInformation& WorkerNavigatorNetworkInformation::from(Worke
WorkerNavigatorNetworkInformation* WorkerNavigatorNetworkInformation::toWorkerNavigatorNetworkInformation(WorkerNavigator& navigator, ExecutionContext* context)
{
- return static_cast<WorkerNavigatorNetworkInformation*>(HeapSupplement<WorkerNavigator>::from(navigator, supplementName()));
+ return static_cast<WorkerNavigatorNetworkInformation*>(Supplement<WorkerNavigator>::from(navigator, supplementName()));
}
const char* WorkerNavigatorNetworkInformation::supplementName()
@@ -41,7 +41,7 @@ NetworkInformation* WorkerNavigatorNetworkInformation::connection(ExecutionConte
DEFINE_TRACE(WorkerNavigatorNetworkInformation)
{
visitor->trace(m_connection);
- HeapSupplement<WorkerNavigator>::trace(visitor);
+ Supplement<WorkerNavigator>::trace(visitor);
}
NetworkInformation* WorkerNavigatorNetworkInformation::connection(ExecutionContext* context)

Powered by Google App Engine
This is Rietveld 408576698