aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/BitmapRectBench.cpp
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2018-06-11 21:44:01 -0400
committerGravatar Mike Klein <mtklein@google.com>2018-06-12 15:03:21 +0000
commit2a2f67592602b18527bc3fd449132d420cd5b62e (patch)
tree0f6078db2af3b904f08e8cc0118055bf1db621a5 /bench/BitmapRectBench.cpp
parent7c525e62d405d57ae7a7742cf607b9770a83a0ab (diff)
SkTypes: extract SkTo
Change-Id: I8de790d5013db2105ad885fa2683303d7c250b09 Reviewed-on: https://skia-review.googlesource.com/133620 Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'bench/BitmapRectBench.cpp')
-rw-r--r--bench/BitmapRectBench.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bench/BitmapRectBench.cpp b/bench/BitmapRectBench.cpp
index 789a725e11..0e5d3627f2 100644
--- a/bench/BitmapRectBench.cpp
+++ b/bench/BitmapRectBench.cpp
@@ -4,6 +4,7 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
#include "Benchmark.h"
#include "SkBitmap.h"
#include "SkCanvas.h"
@@ -11,6 +12,7 @@
#include "SkPaint.h"
#include "SkRandom.h"
#include "SkString.h"
+#include "SkTo.h"
static void draw_into_bitmap(const SkBitmap& bm) {
const int w = bm.width();