| Index: chrome/browser/ui/tests/ui_gfx_image_unittest.mm
|
| diff --git a/chrome/browser/ui/tests/ui_gfx_image_unittest.mm b/chrome/browser/ui/tests/ui_gfx_image_unittest.mm
|
| index 9f62332f0390a3d4d187ec258d095c8d7b8c1bb3..6db63bcb34bd211c2453f903aaf3e28d7f3a2288 100644
|
| --- a/chrome/browser/ui/tests/ui_gfx_image_unittest.mm
|
| +++ b/chrome/browser/ui/tests/ui_gfx_image_unittest.mm
|
| @@ -17,7 +17,7 @@ class UiGfxImageTest : public CocoaTest {
|
| };
|
|
|
| TEST_F(UiGfxImageTest, CheckColor) {
|
| - gfx::Image image(gfx::test::CreateBitmap());
|
| + gfx::Image image(gfx::test::CreateBitmap(25, 25));
|
| [image lockFocus];
|
| NSColor* color = NSReadPixel(NSMakePoint(10, 10));
|
| [image unlockFocus];
|
| @@ -42,7 +42,7 @@ TEST_F(UiGfxImageTest, ImageView) {
|
| [[test_window() contentView] addSubview:image_view];
|
| [test_window() orderFront:nil];
|
|
|
| - gfx::Image image(gfx::test::CreateBitmap());
|
| + gfx::Image image(gfx::test::CreateBitmap(25, 25));
|
| [image_view setImage:image];
|
| }
|
|
|
|
|