| Index: src/core/SkPath.cpp
|
| diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
|
| index 4c2f89730c84f9e109f6f8c8ae5f55b584c9eb9a..10e80a47a33804476650c6a99c9d0248a609f94a 100644
|
| --- a/src/core/SkPath.cpp
|
| +++ b/src/core/SkPath.cpp
|
| @@ -214,6 +214,9 @@ bool SkPath::interpolate(const SkPath& ending, SkScalar weight, SkPath* out) con
|
| if (verbCount != ending.fPathRef->countVerbs()) {
|
| return false;
|
| }
|
| + if (!verbCount) {
|
| + return true;
|
| + }
|
| out->reset();
|
| out->addPath(*this);
|
| fPathRef->interpolate(*ending.fPathRef, weight, out->fPathRef);
|
|
|