aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/SkPathHeap.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/SkPathHeap.h b/src/core/SkPathHeap.h
index b8f3bd3abb..1a0023ccd9 100644
--- a/src/core/SkPathHeap.h
+++ b/src/core/SkPathHeap.h
@@ -15,7 +15,10 @@ public:
SkPathHeap(SkFlattenableReadBuffer&);
virtual ~SkPathHeap();
- // called during picture-record
+ /** Copy the path into the heap, and return the new total number of paths.
+ Thus, the returned value will be index+1, where index is the index of
+ this newly added (copied) path.
+ */
int append(const SkPath&);
// called during picture-playback