Index: dm/DMSrcSink.cpp |
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp |
index 9efccd3042d692cbe5a5f101ac61f898b06133c7..06ca7507349b7e5cf05f34246c48a22a4b5eaec5 100644 |
--- a/dm/DMSrcSink.cpp |
+++ b/dm/DMSrcSink.cpp |
@@ -721,8 +721,13 @@ SkISize CodecSrc::size() const { |
Name CodecSrc::name() const { |
if (1.0f == fScale) { |
- return SkOSPath::Basename(fPath.c_str()); |
+ Name name = SkOSPath::Basename(fPath.c_str()); |
+ if (fMode == kAnimated_Mode) { |
+ name.append("_animated"); |
+ } |
+ return name; |
} |
+ SkASSERT(fMode != kAnimated_Mode); |
return get_scaled_name(fPath, fScale); |
} |