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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerContainerClient.h

Issue 213223005: Use the Navigator's frame in navigator.serviceWorker and associated container. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Source/modules/serviceworkers/ServiceWorkerContainerClient.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainerClient.h b/Source/modules/serviceworkers/ServiceWorkerContainerClient.h
index a0a26478a6e32f6f8e89101e241e0acc5c0c2299..7e0a0fde1985d17a4380649258f351e3e96ba03a 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainerClient.h
+++ b/Source/modules/serviceworkers/ServiceWorkerContainerClient.h
@@ -5,7 +5,7 @@
#ifndef ServiceWorkerContainerClient_h
#define ServiceWorkerContainerClient_h
-#include "core/page/Page.h"
+#include "core/dom/DocumentSupplementable.h"
#include "core/workers/WorkerClients.h"
#include "wtf/Forward.h"
@@ -18,9 +18,9 @@ namespace WebCore {
class ExecutionContext;
// This mainly exists to provide access to WebServiceWorkerProvider.
-// Owned by Page (or WorkerClients).
+// Owned by Document (or WorkerClients).
class ServiceWorkerContainerClient FINAL :
- public Supplement<Page>,
+ public DocumentSupplement,
public Supplement<WorkerClients> {
WTF_MAKE_NONCOPYABLE(ServiceWorkerContainerClient);
public:

Powered by Google App Engine
This is Rietveld 408576698