| Index: tools/bench_pictures_main.cpp
|
| diff --git a/tools/bench_pictures_main.cpp b/tools/bench_pictures_main.cpp
|
| index f919812d13acd193cfdfb8b0cb4fcbcc6da98f9d..b29f4d106e49309e94f7b47eac5f5699884cd254 100644
|
| --- a/tools/bench_pictures_main.cpp
|
| +++ b/tools/bench_pictures_main.cpp
|
| @@ -204,8 +204,8 @@ static bool run_single_benchmark(const SkString& inputPath,
|
|
|
| SkString filename = SkOSPath::Basename(inputPath.c_str());
|
|
|
| - gWriter.bench(filename.c_str(),
|
| - SkScalarCeilToInt(picture->cullRect().width()),
|
| + gWriter.bench(filename.c_str(),
|
| + SkScalarCeilToInt(picture->cullRect().width()),
|
| SkScalarCeilToInt(picture->cullRect().height()));
|
|
|
| benchmark.run(picture, FLAGS_mpd);
|
| @@ -444,9 +444,6 @@ int tool_main(int argc, char** argv) {
|
| gWriter.add(&gLogWriter);
|
|
|
|
|
| -#if SK_ENABLE_INST_COUNT
|
| - gPrintInstCount = true;
|
| -#endif
|
| SkAutoGraphics ag;
|
|
|
| sk_tools::PictureBenchmark benchmark;
|
|
|