aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-03-02 15:26:33 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-02 21:07:42 +0000
commit108943d6253315f22580ddb1c60d6d8adbbc5a6a (patch)
tree35f2a53e5d32a2abec19f44d082de0a92b069123 /bench
parent68b9b57638d3c27587c21aefef7c36c4ed4e78e5 (diff)
Remove SkLiteDL::makeThreadsafe().
It's not used, and removing it cuts a branch in DrawDrawable::draw(). Change-Id: I15d13dda1ec594c525f5d108e208b00286c2d09f Reviewed-on: https://skia-review.googlesource.com/9174 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'bench')
-rw-r--r--bench/RecordingBench.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/bench/RecordingBench.cpp b/bench/RecordingBench.cpp
index aa310523ad..c8142ee274 100644
--- a/bench/RecordingBench.cpp
+++ b/bench/RecordingBench.cpp
@@ -54,7 +54,6 @@ void RecordingBench::onDraw(int loops, SkCanvas*) {
SkLiteDL dl;
rec.reset(&dl, fSrc->cullRect().roundOut());
fDL->draw(&rec);
- dl.makeThreadsafe();
}
} else {