Index: components/ntp_snippets/offline_pages/offline_pages_test_utils.cc |
diff --git a/components/ntp_snippets/offline_pages/offline_pages_test_utils.cc b/components/ntp_snippets/offline_pages/offline_pages_test_utils.cc |
index 428911d6c0db848e4ad480a239aadd63e1f09987..26a0e25be124e885b8acbe63e30debffb95a9748 100644 |
--- a/components/ntp_snippets/offline_pages/offline_pages_test_utils.cc |
+++ b/components/ntp_snippets/offline_pages/offline_pages_test_utils.cc |
@@ -31,8 +31,9 @@ void FakeOfflinePageModel::GetPagesMatchingQuery( |
const MultipleOfflinePageItemCallback& callback) { |
MultipleOfflinePageItemResult filtered_result; |
for (auto& item : items_) { |
- if (query->Matches(item)) |
+ if (query->Matches(item)) { |
filtered_result.emplace_back(item); |
+ } |
} |
callback.Run(filtered_result); |
} |