Remove dependency on src/android from dm and nanobench
BUG=skia:
Review URL: https://codereview.chromium.org/1443033002
diff --git a/bench/BitmapRegionDecoderBench.cpp b/bench/BitmapRegionDecoderBench.cpp
index a98dbb0..125c4a8 100644
--- a/bench/BitmapRegionDecoderBench.cpp
+++ b/bench/BitmapRegionDecoderBench.cpp
@@ -8,7 +8,6 @@
#include "BitmapRegionDecoderBench.h"
#include "CodecBenchPriv.h"
#include "SkBitmap.h"
-#include "SkBitmapRegionDecoderPriv.h"
#include "SkOSFile.h"
BitmapRegionDecoderBench::BitmapRegionDecoderBench(const char* baseName, SkData* encoded,
@@ -41,7 +40,7 @@
fName.printf("BRD_%s_%s_%s", baseName, strategyName, colorName);
if (1 != sampleSize) {
- fName.appendf("_%.3f", get_scale_from_sample_size(sampleSize));
+ fName.appendf("_%.3f", 1.0f / (float) sampleSize);
}
}