Index: ui/ozone/platform/dri/dri_surface_factory_unittest.cc |
diff --git a/ui/ozone/platform/dri/dri_surface_factory_unittest.cc b/ui/ozone/platform/dri/dri_surface_factory_unittest.cc |
index 4cdd1bf765b5f03aaf0a28649ca9fad7b54f1e71..4b0e12af71559117f6611550aa8de1c4994928eb 100644 |
--- a/ui/ozone/platform/dri/dri_surface_factory_unittest.cc |
+++ b/ui/ozone/platform/dri/dri_surface_factory_unittest.cc |
@@ -9,6 +9,7 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/skia/include/core/SkCanvas.h" |
#include "third_party/skia/include/core/SkColor.h" |
+#include "third_party/skia/include/core/SkImageInfo.h" |
#include "ui/gfx/ozone/surface_factory_ozone.h" |
#include "ui/gfx/ozone/surface_ozone_canvas.h" |
#include "ui/ozone/platform/dri/dri_buffer.h" |
@@ -171,7 +172,7 @@ TEST_F(DriSurfaceFactoryTest, SetCursorImage) { |
SkBitmap image; |
SkImageInfo info = SkImageInfo::Make( |
- 6, 4, kPMColor_SkColorType, kPremul_SkAlphaType); |
+ 6, 4, kN32_SkColorType, kPremul_SkAlphaType); |
image.allocPixels(info); |
image.eraseColor(SK_ColorWHITE); |