aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
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
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')
-rw-r--r--bench/BitmapRectBench.cpp2
-rw-r--r--bench/PDFBench.cpp1
2 files changed, 3 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();
diff --git a/bench/PDFBench.cpp b/bench/PDFBench.cpp
index 4cda80bd6e..44b96a73dd 100644
--- a/bench/PDFBench.cpp
+++ b/bench/PDFBench.cpp
@@ -16,6 +16,7 @@
#include "SkPixmap.h"
#include "SkRandom.h"
#include "SkStream.h"
+#include "SkTo.h"
namespace {
struct WStreamWriteTextBenchmark : public Benchmark {