| Index: src/core/SkPathRef.cpp
|
| diff --git a/src/core/SkPathRef.cpp b/src/core/SkPathRef.cpp
|
| index 12429aecfcc889b3244ab03c40dbfea423464780..acf72d98589dab3a42ee2b753281d5bebe1892a5 100644
|
| --- a/src/core/SkPathRef.cpp
|
| +++ b/src/core/SkPathRef.cpp
|
| @@ -573,6 +573,11 @@ uint8_t SkPathRef::Iter::next(SkPoint pts[4]) {
|
| return (uint8_t) verb;
|
| }
|
|
|
| +uint8_t SkPathRef::Iter::peek() const {
|
| + const uint8_t* next = fVerbs - 1;
|
| + return next <= fVerbStop ? (uint8_t) SkPath::kDone_Verb : *next;
|
| +}
|
| +
|
| #ifdef SK_DEBUG
|
| void SkPathRef::validate() const {
|
| this->INHERITED::validate();
|
|
|