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

Unified Diff: dm/DMBenchTask.cpp

Issue 329853007: Remove SkBenchmark::postDraw. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: dm too Created 6 years, 6 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/benchmain.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMBenchTask.cpp
diff --git a/dm/DMBenchTask.cpp b/dm/DMBenchTask.cpp
index 917e8612743c95f00cfe8e2188c8997a3c22f1ef..619bbc1b14af45bb83545209ef377ddc9e66436a 100644
--- a/dm/DMBenchTask.cpp
+++ b/dm/DMBenchTask.cpp
@@ -59,7 +59,6 @@ static void draw_raster(SkBenchmark* bench, SkColorType colorType) {
bench->preDraw();
bench->draw(1, &canvas);
- bench->postDraw();
}
void NonRenderingBenchTask::draw() {
@@ -79,7 +78,6 @@ void GpuBenchTask::draw(GrContextFactory* grFactory) {
fBench->preDraw();
fBench->draw(1, surface->getCanvas());
- fBench->postDraw();
}
} // namespace DM
« no previous file with comments | « bench/benchmain.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698