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

Unified Diff: third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.cpp

Issue 2646383002: Use a new Supplement constructor for (Worker)Navigator supplements (Closed)
Patch Set: temp Created 3 years, 11 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 8806925f5fedb1cdeec7042f6eb8a115aa69efea..03e5b0346a4148943ef3f19ccd9db813f89b8d06 100644
--- a/third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.cpp
+++ b/third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.cpp
@@ -11,7 +11,8 @@ namespace blink {
WorkerNavigatorNetworkInformation::WorkerNavigatorNetworkInformation(
WorkerNavigator& navigator,
- ExecutionContext* context) {}
+ ExecutionContext* context)
+ : Supplement<WorkerNavigator>(navigator) {}
WorkerNavigatorNetworkInformation& WorkerNavigatorNetworkInformation::from(
WorkerNavigator& navigator,

Powered by Google App Engine
This is Rietveld 408576698