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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/NavigatorServiceWorker.cpp

Issue 2651613002: Use a new Supplement constructor for ServiceWorkerRegistration supplements (Closed)
Patch Set: temp Created 3 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
« no previous file with comments | « third_party/WebKit/Source/modules/push_messaging/ServiceWorkerRegistrationPush.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/serviceworkers/NavigatorServiceWorker.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/NavigatorServiceWorker.cpp b/third_party/WebKit/Source/modules/serviceworkers/NavigatorServiceWorker.cpp
index 73160f042ade6669ce253c8138413baca46ac274..cf1cc10cf36c6a05af88fe322b6e82c2a13d122c 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/NavigatorServiceWorker.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/NavigatorServiceWorker.cpp
@@ -12,7 +12,8 @@
namespace blink {
-NavigatorServiceWorker::NavigatorServiceWorker(Navigator& navigator) {}
+NavigatorServiceWorker::NavigatorServiceWorker(Navigator& navigator)
+ : Supplement<Navigator>(navigator) {}
NavigatorServiceWorker* NavigatorServiceWorker::from(Document& document) {
if (!document.frame() || !document.frame()->domWindow())
« no previous file with comments | « third_party/WebKit/Source/modules/push_messaging/ServiceWorkerRegistrationPush.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698