| Index: components/ntp_tiles/popular_sites_impl_unittest.cc
|
| diff --git a/components/ntp_tiles/popular_sites_impl_unittest.cc b/components/ntp_tiles/popular_sites_impl_unittest.cc
|
| index 911e7f0457a6b34374efd2fa588d10e856b08c04..661cc2441bdd5f1890c07f4a92bb9d2c2abe3d27 100644
|
| --- a/components/ntp_tiles/popular_sites_impl_unittest.cc
|
| +++ b/components/ntp_tiles/popular_sites_impl_unittest.cc
|
| @@ -60,7 +60,7 @@
|
| }
|
|
|
| size_t GetNumberOfDefaultPopularSitesForPlatform() {
|
| -#if defined(OS_ANDROID)
|
| +#if defined(OS_ANDROID) || defined(OS_IOS)
|
| return 8ul;
|
| #else
|
| return 0ul;
|
| @@ -265,7 +265,7 @@
|
| std::unique_ptr<PopularSites> popular_sites =
|
| CreatePopularSites(url_request_context.get());
|
|
|
| -#if defined(GOOGLE_CHROME_BUILD) && defined(OS_ANDROID)
|
| +#if defined(GOOGLE_CHROME_BUILD) && (defined(OS_ANDROID) || defined(OS_IOS))
|
| ASSERT_FALSE(popular_sites->sites().empty());
|
| for (const auto& site : popular_sites->sites()) {
|
| EXPECT_THAT(site.default_icon_resource, Gt(0));
|
|
|