[sksg] Fix uninitialized DashEffect attribute

All SkSG attributes require a default initializer.

TBR=
Change-Id: I15ee6ea56f1d07375af5a623e95321bd80da2e68
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/321470
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
This commit is contained in:
Florin Malita 2020-10-01 13:10:43 -04:00 committed by Skia Commit-Bot
parent f5c90ebd65
commit efe6c11b15

View File

@ -114,7 +114,7 @@ private:
SkPath onRevalidateEffect(const sk_sp<GeometryNode>&) override;
std::vector<float> fIntervals;
float fPhase;
float fPhase = 0;
using INHERITED = GeometryEffect;
};