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

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

Issue 362123003: ServiceWorker: unregister's scope argument should be optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/ServiceWorkerContainer.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.h b/Source/modules/serviceworkers/ServiceWorkerContainer.h
index f267e4b2dbe34ad1ba328caa2cce2f8edb5b153a..4d8c76fd8851bfb57be6f4ec1fc2392cf289fd05 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.h
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.h
@@ -69,7 +69,7 @@ public:
ScriptPromise ready(ScriptState*);
ScriptPromise registerServiceWorker(ScriptState*, const String& pattern, const Dictionary&);
- ScriptPromise unregisterServiceWorker(ScriptState*, const String& scope = String());
+ ScriptPromise unregisterServiceWorker(ScriptState*, const String& scope);
// WebServiceWorkerProviderClient overrides.
virtual void setActive(blink::WebServiceWorker*) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698