Index: chrome/browser/profiles/gaia_info_update_service_unittest.cc |
diff --git a/chrome/browser/profiles/gaia_info_update_service_unittest.cc b/chrome/browser/profiles/gaia_info_update_service_unittest.cc |
index ce2f601ab0a020a1eac6a5fd93cc87914ab67556..a5b78c08c9a3635062d1d78dd87468279eeb8c52 100644 |
--- a/chrome/browser/profiles/gaia_info_update_service_unittest.cc |
+++ b/chrome/browser/profiles/gaia_info_update_service_unittest.cc |
@@ -110,7 +110,7 @@ class GAIAInfoUpdateServiceTest : public ProfileInfoCacheTest { |
void RenameProfile(const base::string16& full_name, |
const base::string16& given_name) { |
- gfx::Image image = gfx::test::CreateImage(); |
+ gfx::Image image = gfx::test::CreateImage(256,256); |
std::string url("foo.com"); |
ProfileDownloadSuccess(full_name, given_name, image, url); |
@@ -150,7 +150,7 @@ TEST_F(GAIAInfoUpdateServiceTest, DownloadSuccess) { |
base::string16 name = base::ASCIIToUTF16("Pat Smith"); |
base::string16 given_name = base::ASCIIToUTF16("Pat"); |
- gfx::Image image = gfx::test::CreateImage(); |
+ gfx::Image image = gfx::test::CreateImage(256, 256); |
std::string url("foo.com"); |
ProfileDownloadSuccess(name, given_name, image, url); |
@@ -247,7 +247,7 @@ TEST_F(GAIAInfoUpdateServiceTest, LogOut) { |
signin_manager->SetAuthenticatedUsername("pat@example.com"); |
base::string16 gaia_name = base::UTF8ToUTF16("Pat Foo"); |
GetCache()->SetGAIANameOfProfileAtIndex(0, gaia_name); |
- gfx::Image gaia_picture = gfx::test::CreateImage(); |
+ gfx::Image gaia_picture = gfx::test::CreateImage(256,256); |
GetCache()->SetGAIAPictureOfProfileAtIndex(0, &gaia_picture); |
// Set a fake picture URL. |