aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathTest.cpp
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2017-04-11 12:12:02 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-11 18:57:20 +0000
commitfafe135349bd34961a12bfd8185733709cd0e45e (patch)
treeb40dbd0a0787901843aba62eec1f21a1fe3936e1 /tests/PathTest.cpp
parent8a8e5fe290307952f9b8df1eb680eed52d83eca9 (diff)
SkSize can be aggregate-initialized
Previosly, SkSize had a base class, which prevented it. Also removes unused SkISize::clampNegToZero() and SkSize::clampNegToZero(). Change-Id: I7b93b42f6f6381c66e294bbedee99ad53c6c3436 Reviewed-on: https://skia-review.googlesource.com/13187 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'tests/PathTest.cpp')
-rw-r--r--tests/PathTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp
index d41ed47f77..c4df3887af 100644
--- a/tests/PathTest.cpp
+++ b/tests/PathTest.cpp
@@ -4531,7 +4531,7 @@ DEF_TEST(Paths, reporter) {
test_path_crbugskia6003();
test_fuzz_crbug_668907();
- SkTSize<SkScalar>::Make(3,4);
+ SkSize::Make(3, 4);
SkPath p, empty;
SkRect bounds, bounds2;