diff options
author | Mike Klein <mtklein@chromium.org> | 2017-03-22 13:47:51 -0400 |
---|---|---|
committer | Mike Klein <mtklein@chromium.org> | 2017-03-22 18:11:49 +0000 |
commit | 33d2055e594177b27360f84e0631b26d74a55a9b (patch) | |
tree | bfa9cca0636a6022134fa48af12360c752123afd /gm/occludedrrectblur.cpp | |
parent | 4ef01482025e2e629e35458aa214436d3b4138e8 (diff) |
GM: some header cleanup
gm.h includes sk_tool_utils.h but does not use it.
The bulk of this CL makes each gm that uses sk_tool_utils include it.
sk_tool_utils.h also provided SkRandom and SkTDArray,
so a couple GMs add those headers too.
Change-Id: Ieb2a7c542f0ca89c3223f744fc11b0ff37af36c1
Reviewed-on: https://skia-review.googlesource.com/10014
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Herb Derby <herb@google.com>
Diffstat (limited to 'gm/occludedrrectblur.cpp')
-rw-r--r-- | gm/occludedrrectblur.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/occludedrrectblur.cpp b/gm/occludedrrectblur.cpp index 059b47353f..f488f22028 100644 --- a/gm/occludedrrectblur.cpp +++ b/gm/occludedrrectblur.cpp @@ -6,9 +6,9 @@ */ #include "gm.h" +#include "sk_tool_utils.h" #include "SkBlurMaskFilter.h" #include "SkRRect.h" -#include "sk_tool_utils.h" static SkRect offset_center_to(const SkIRect& src, SkScalar x, SkScalar y) { SkScalar halfW = 0.5f * src.width(); |