Index: Source/modules/serviceworkers/ServiceWorkerClients.cpp |
diff --git a/Source/modules/serviceworkers/ServiceWorkerClients.cpp b/Source/modules/serviceworkers/ServiceWorkerClients.cpp |
index 5193061352602c2feb4569e9232be06b3d000949..19fd5cd384c2f309fc2b6bdd30093bf778a38a54 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerClients.cpp |
+++ b/Source/modules/serviceworkers/ServiceWorkerClients.cpp |
@@ -54,8 +54,14 @@ ServiceWorkerClients::ServiceWorkerClients() |
{ |
} |
+// Deprecated, please use matchAll instead. |
ScriptPromise ServiceWorkerClients::getAll(ScriptState* scriptState, const ClientQueryOptions& options) |
{ |
+ return matchAll(scriptState, options); |
+} |
+ |
+ScriptPromise ServiceWorkerClients::matchAll(ScriptState* scriptState, const ClientQueryOptions& options) |
+{ |
ExecutionContext* executionContext = scriptState->executionContext(); |
// FIXME: May be null due to worker termination: http://crbug.com/413518. |
if (!executionContext) |