Index: dm/DM.cpp |
diff --git a/dm/DM.cpp b/dm/DM.cpp |
index 7d8d610699ce40c365633a469c4e64274a498e7c..385a33cc7b420169c1f004ec7144912871ea1a2a 100644 |
--- a/dm/DM.cpp |
+++ b/dm/DM.cpp |
@@ -14,6 +14,7 @@ |
#include "SkBBHFactory.h" |
#include "SkChecksum.h" |
#include "SkCodec.h" |
+#include "SkCodecTools.h" |
#include "SkCommonFlags.h" |
#include "SkFontMgr.h" |
#include "SkForceLinking.h" |
@@ -391,7 +392,7 @@ static void push_brd_src(Path path, SkBitmapRegionDecoderInterface::Strategy str |
} |
if (1 != sampleSize) { |
- folder.appendf("_%.3f", BRDSrc::GetScale(sampleSize)); |
+ folder.appendf("_%.3f", get_scale_from_sample_size(sampleSize)); |
} |
BRDSrc* src = new BRDSrc(path, strategy, mode, dstColorType, sampleSize); |