Index: Source/platform/graphics/ImageFrameGeneratorTest.cpp |
diff --git a/Source/platform/graphics/ImageFrameGeneratorTest.cpp b/Source/platform/graphics/ImageFrameGeneratorTest.cpp |
index d84bef930870ce072fd1f3fc3aa83471db35d039..0d5390c08189ce95fc5ee750437683fc499d3232 100644 |
--- a/Source/platform/graphics/ImageFrameGeneratorTest.cpp |
+++ b/Source/platform/graphics/ImageFrameGeneratorTest.cpp |
@@ -43,12 +43,7 @@ SkISize fullSize() { return SkISize::Make(100, 100); } |
SkImageInfo imageInfo() |
{ |
- SkImageInfo info; |
- info.fWidth = 100; |
- info.fHeight = 100; |
- info.fColorType = kBGRA_8888_SkColorType; |
- info.fAlphaType = kOpaque_SkAlphaType; |
- return info; |
+ return SkImageInfo::Make(100, 100, kBGRA_8888_SkColorType, kOpaque_SkAlphaType); |
} |
} // namespace |