Chromium Code Reviews| Index: Source/modules/serviceworkers/ServiceWorkerClients.cpp |
| diff --git a/Source/modules/serviceworkers/ServiceWorkerClients.cpp b/Source/modules/serviceworkers/ServiceWorkerClients.cpp |
| index 5193061352602c2feb4569e9232be06b3d000949..e61fc722d98424d9e23e3315dc3197503049b138 100644 |
| --- a/Source/modules/serviceworkers/ServiceWorkerClients.cpp |
| +++ b/Source/modules/serviceworkers/ServiceWorkerClients.cpp |
| @@ -54,8 +54,14 @@ ServiceWorkerClients::ServiceWorkerClients() |
| { |
| } |
| +// Deprecated, please use matchAll instead |
|
falken
2015/02/13 10:15:59
nit: add a period
zhuoyu.qian
2015/02/13 10:47:05
Done.
|
| 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) |