Chromium Code Reviews| Index: include/core/SkPath.h |
| diff --git a/include/core/SkPath.h b/include/core/SkPath.h |
| index dc50ae76c317b1ad487da5470ecb6f73c7698bf6..f3aa1eab5bec075df92ec21dd15d44b6d9aae07e 100644 |
| --- a/include/core/SkPath.h |
| +++ b/include/core/SkPath.h |
| @@ -1001,11 +1001,14 @@ private: |
| void setPt(int index, SkScalar x, SkScalar y); |
| + SkPathRef* pathRef() const { return fPathRef; } |
| + |
| friend class SkAutoPathBoundsUpdate; |
| friend class SkAutoDisableOvalCheck; |
| friend class SkAutoDisableDirectionCheck; |
| friend class SkBench_AddPathTest; // perf test reversePathTo |
| friend class PathTest_Private; // unit test reversePathTo |
| + friend class TessellatingPathBatch; // for pathRef() |
|
bsalomon
2015/08/03 18:08:26
Why not just pass the listeners through the skpath
Stephen White
2015/08/03 18:54:41
I didn't want to put it on the SkPath, partly for
|
| }; |
| #endif |