| Index: src/animator/SkScript2.h
|
| diff --git a/src/animator/SkScript2.h b/src/animator/SkScript2.h
|
| index 33e2af7fee7c9ec46c856d26988926880eeab765..d182e8c7c5dd46b47d291450ed4659f4189751bf 100644
|
| --- a/src/animator/SkScript2.h
|
| +++ b/src/animator/SkScript2.h
|
| @@ -188,8 +188,9 @@ protected:
|
| Branch() {
|
| }
|
|
|
| - Branch(Op op, int depth, unsigned offset) : fOffset(offset), fOpStackDepth(depth), fOperator(op),
|
| - fPrimed(kIsNotPrimed), fDone(kIsNotDone) {
|
| + Branch(Op op, int depth, size_t offset)
|
| + : fOffset(SkToU16(offset)), fOpStackDepth(depth), fOperator(op)
|
| + , fPrimed(kIsNotPrimed), fDone(kIsNotDone) {
|
| }
|
|
|
| enum Primed {
|
|
|