diff options
author | reed <reed@chromium.org> | 2015-12-20 20:08:42 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-20 20:08:43 -0800 |
commit | 2d6ba6690f8951e152d8e793191b14afd52f5506 (patch) | |
tree | ff71833d1327c08c9e31451d2a18286fc95f7bb0 /tests/DashPathEffectTest.cpp | |
parent | d63f60a36327e9580861205ebb35cade8c49bd34 (diff) |
Revert of change all factories to return their base-class (patchset #1 id:1 of https://codereview.chromium.org/1535353002/ )
Reason for revert:
need to update some chrome/blink call-sites
Original issue's description:
> change all factories to return their base-class
>
> will watch DEPS roll to see if there are chrome sites needing updates
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1535353002
>
> TBR=
>
> Committed: https://skia.googlesource.com/skia/+/d63f60a36327e9580861205ebb35cade8c49bd34
TBR=
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/1540203002
Diffstat (limited to 'tests/DashPathEffectTest.cpp')
-rw-r--r-- | tests/DashPathEffectTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/DashPathEffectTest.cpp b/tests/DashPathEffectTest.cpp index f55bcf8a85..6639ec7b40 100644 --- a/tests/DashPathEffectTest.cpp +++ b/tests/DashPathEffectTest.cpp @@ -18,7 +18,7 @@ DEF_TEST(DashPathEffectTest_crbug_348821, r) { SkScalar intervals[] = { 1.76934361e+36f, 2.80259693e-45f }; // Values from bug. const int count = 2; SkScalar phase = SK_ScalarInfinity; // Used to force the bad fInitialDashLength = -1 path. - SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, count, phase)); + SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, count, phase)); // nullptr -> refuses to work with flattening framework. REPORTER_ASSERT(r, dash->getFactory() != nullptr); @@ -33,7 +33,7 @@ DEF_TEST(DashPathEffectTest_asPoints, r) { const SkScalar intervals[] = { 1.0f, 1.0f }; const int count = 2; - SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, count, 0.0f)); + SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, count, 0.0f)); SkRect cull = SkRect::MakeWH(1.0f, 1.0f); |