aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r--dm/DM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 6fa81e7137..aa9cc10543 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -731,7 +731,7 @@ static void push_codec_srcs(Path path) {
};
for (const char* brdExt : brdExts) {
if (0 == strcmp(brdExt, ext)) {
- bool gray = codec->getInfo().colorType() == kGray_8_SkColorType;
+ bool gray = codec->getEncodedInfo().color() == SkEncodedInfo::kGray_Color;
push_brd_srcs(path, gray);
break;
}