Index: dm/DMBenchTask.cpp |
diff --git a/dm/DMBenchTask.cpp b/dm/DMBenchTask.cpp |
index 619bbc1b14af45bb83545209ef377ddc9e66436a..7cd2fdcb03d89fd5d7d1652842a070adcd95ef93 100644 |
--- a/dm/DMBenchTask.cpp |
+++ b/dm/DMBenchTask.cpp |
@@ -41,18 +41,18 @@ GpuBenchTask::GpuBenchTask(const char* config, |
, fSampleCount(sampleCount) {} |
bool NonRenderingBenchTask::shouldSkip() const { |
- return !fBench->isSuitableFor(SkBenchmark::kNonRendering_Backend); |
+ return !fBench->isSuitableFor(Benchmark::kNonRendering_Backend); |
} |
bool CpuBenchTask::shouldSkip() const { |
- return !fBench->isSuitableFor(SkBenchmark::kRaster_Backend); |
+ return !fBench->isSuitableFor(Benchmark::kRaster_Backend); |
} |
bool GpuBenchTask::shouldSkip() const { |
- return kGPUDisabled || !fBench->isSuitableFor(SkBenchmark::kGPU_Backend); |
+ return kGPUDisabled || !fBench->isSuitableFor(Benchmark::kGPU_Backend); |
} |
-static void draw_raster(SkBenchmark* bench, SkColorType colorType) { |
+static void draw_raster(Benchmark* bench, SkColorType colorType) { |
SkBitmap bitmap; |
AllocatePixels(colorType, bench->getSize().x(), bench->getSize().y(), &bitmap); |
SkCanvas canvas(bitmap); |