Index: chrome/browser/banners/app_banner_data_fetcher_unittest.cc |
diff --git a/chrome/browser/banners/app_banner_data_fetcher_unittest.cc b/chrome/browser/banners/app_banner_data_fetcher_unittest.cc |
index 2254130433b6c01e5066a7bc7d6489e2f5686cfa..3b68086d4912238f6ee11abb69a89a93ed16820b 100644 |
--- a/chrome/browser/banners/app_banner_data_fetcher_unittest.cc |
+++ b/chrome/browser/banners/app_banner_data_fetcher_unittest.cc |
@@ -33,7 +33,10 @@ class AppBannerDataFetcherUnitTest : public testing::Test { |
} |
static bool IsManifestValid(const content::Manifest& manifest) { |
- return AppBannerDataFetcher::IsManifestValidForWebApp(manifest); |
+ // The second argument is the web_contents pointer, which is used for |
+ // developer debug logging to the console. The logging is skipped inside the |
+ // method if a null web_contents pointer is provided, so this is safe. |
+ return AppBannerDataFetcher::IsManifestValidForWebApp(manifest, nullptr); |
} |
}; |