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

Unified Diff: Source/modules/serviceworkers/NavigatorServiceWorker.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/NavigatorServiceWorker.h
diff --git a/Source/modules/serviceworkers/NavigatorServiceWorker.h b/Source/modules/serviceworkers/NavigatorServiceWorker.h
index 57f114def8015809f4b2641bd9af728c367d9b7b..c9937317d0ef66181a545cc0dd984aa1ceb06d7c 100644
--- a/Source/modules/serviceworkers/NavigatorServiceWorker.h
+++ b/Source/modules/serviceworkers/NavigatorServiceWorker.h
@@ -23,13 +23,13 @@ public:
static NavigatorServiceWorker* toNavigatorServiceWorker(Navigator&);
static const char* supplementName();
- static ServiceWorkerContainer* serviceWorker(ExecutionContext*, Navigator&);
+ static ServiceWorkerContainer* serviceWorker(Navigator&);
void trace(Visitor*) { }
private:
explicit NavigatorServiceWorker(Navigator&);
- ServiceWorkerContainer* serviceWorker(ExecutionContext*);
+ ServiceWorkerContainer* serviceWorker();
// DOMWindowProperty override.
virtual void willDetachGlobalObjectFromFrame() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698