| 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..7245ff177310f8eb5447c3ba014986f16412fdaa 100644
|
| --- a/chrome/browser/ui/tests/ui_gfx_image_unittest.mm
|
| +++ b/chrome/browser/ui/tests/ui_gfx_image_unittest.mm
|
| @@ -9,7 +9,7 @@
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| #include "ui/gfx/image.h"
|
| -#include "ui/gfx/image_unittest.h"
|
| +#include "ui/gfx/image_unittest_util.h"
|
|
|
| namespace {
|
|
|
| @@ -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];
|
| }
|
|
|
|
|