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

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

Issue 1307883002: Add cross origin access check to navigator.serviceWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 9a07517459dec3ac2a736d4bf80c61d6bdf632e7..03ee922c093c634fa286181217fe4e153777d048 100644
--- a/Source/modules/serviceworkers/NavigatorServiceWorker.h
+++ b/Source/modules/serviceworkers/NavigatorServiceWorker.h
@@ -26,7 +26,7 @@ public:
virtual ~NavigatorServiceWorker();
- static ServiceWorkerContainer* serviceWorker(Navigator&, ExceptionState&);
+ static ServiceWorkerContainer* serviceWorker(ExecutionContext*, Navigator&, ExceptionState&);
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698