diff options
author | Mike Klein <mtklein@google.com> | 2019-03-20 11:12:10 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2019-03-20 18:05:42 +0000 |
commit | ea3f014e2b6d18a9f81c1cc369207adeadd1d88c (patch) | |
tree | 1fae93fb49d981f6857cedeaa7f7d83d1b97820a /bench/TextBlobBench.cpp | |
parent | 8d1956edd8647abb9d9998253ad93f37e8e0c10f (diff) | |
download | skia-ea3f014e2b6d18a9f81c1cc369207adeadd1d88c.tar.gz |
sk_tool_utils -> ToolUtils, and git clang-format
sk_tool_utils doesn't really fit the naming convention
the rest of code under tools/ tends to use.
Change-Id: I45326a174101c6eb4b6149e9c742f658f2fd23b1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/202313
Auto-Submit: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'bench/TextBlobBench.cpp')
-rw-r--r-- | bench/TextBlobBench.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/TextBlobBench.cpp b/bench/TextBlobBench.cpp index 3f5433623b..a52b09c940 100644 --- a/bench/TextBlobBench.cpp +++ b/bench/TextBlobBench.cpp @@ -17,7 +17,7 @@ #include "SkTextBlob.h" #include "SkTypeface.h" -#include "sk_tool_utils.h" +#include "ToolUtils.h" /* * A trivial test which benchmarks the performance of a textblob with a single run. @@ -27,7 +27,7 @@ public: SkTextBlobBench() {} void onDelayedSetup() override { - fFont.setTypeface(sk_tool_utils::create_portable_typeface("serif", SkFontStyle())); + fFont.setTypeface(ToolUtils::create_portable_typeface("serif", SkFontStyle())); fFont.setSubpixel(true); // This text seems representative in both length and letter frequency. |