| Index: third_party/WebKit/Source/modules/background_sync/SyncManager.cpp
|
| diff --git a/third_party/WebKit/Source/modules/background_sync/SyncManager.cpp b/third_party/WebKit/Source/modules/background_sync/SyncManager.cpp
|
| index 506a04321a0a4611957fb22ff3f74942393a3ed7..2375cbca0fd10eb9edc0ff5699677407c6848738 100644
|
| --- a/third_party/WebKit/Source/modules/background_sync/SyncManager.cpp
|
| +++ b/third_party/WebKit/Source/modules/background_sync/SyncManager.cpp
|
| @@ -116,12 +116,12 @@ void SyncManager::registerCallback(ScriptPromiseResolver* resolver,
|
| void SyncManager::getRegistrationsCallback(
|
| ScriptPromiseResolver* resolver,
|
| mojom::blink::BackgroundSyncError error,
|
| - mojo::WTFArray<mojom::blink::SyncRegistrationPtr> registrations) {
|
| + WTF::Vector<mojom::blink::SyncRegistrationPtr> registrations) {
|
| // TODO(iclelland): Determine the correct error message to return in each case
|
| switch (error) {
|
| case mojom::blink::BackgroundSyncError::NONE: {
|
| Vector<String> tags;
|
| - for (const auto& r : registrations.storage()) {
|
| + for (const auto& r : registrations) {
|
| tags.append(r->tag);
|
| }
|
| resolver->resolve(tags);
|
|
|