use VectorValue consistently

Bug: skia:
Change-Id: I148bd0cac3c094b30217b30104ebbc6e080c994f
Reviewed-on: https://skia-review.googlesource.com/145885
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2018-08-07 15:43:17 -04:00 committed by Skia Commit-Bot
parent 464d0b2af7
commit 9adff1a89f

View File

@ -11,8 +11,7 @@
#include "SkPoint.h"
#include "SkRefCnt.h"
#include "SkSize.h"
#include <vector>
#include "SkottieValue.h"
namespace sksg {
@ -100,9 +99,9 @@ private:
class GradientAdapter : public SkRefCnt {
public:
ADAPTER_PROPERTY(StartPoint, SkPoint , SkPoint::Make(0, 0) )
ADAPTER_PROPERTY(EndPoint , SkPoint , SkPoint::Make(0, 0) )
ADAPTER_PROPERTY(ColorStops, std::vector<SkScalar>, std::vector<SkScalar>())
ADAPTER_PROPERTY(StartPoint, SkPoint , SkPoint::Make(0, 0) )
ADAPTER_PROPERTY(EndPoint , SkPoint , SkPoint::Make(0, 0) )
ADAPTER_PROPERTY(ColorStops, VectorValue , VectorValue() )
protected:
GradientAdapter(sk_sp<sksg::Gradient>, size_t stopCount);