Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Unified Diff: dm/DM.cpp

Issue 1344993003: Add nanobench tests for BitmapRegionDecoder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bench/subset/SubsetZoomBench.cpp ('k') | dm/DMSrcSink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « bench/subset/SubsetZoomBench.cpp ('k') | dm/DMSrcSink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698