From 2a2f67592602b18527bc3fd449132d420cd5b62e Mon Sep 17 00:00:00 2001 From: Hal Canary Date: Mon, 11 Jun 2018 21:44:01 -0400 Subject: SkTypes: extract SkTo Change-Id: I8de790d5013db2105ad885fa2683303d7c250b09 Reviewed-on: https://skia-review.googlesource.com/133620 Reviewed-by: Mike Klein --- bench/BitmapRectBench.cpp | 2 ++ bench/PDFBench.cpp | 1 + 2 files changed, 3 insertions(+) (limited to 'bench') 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 { -- cgit v1.2.3