diff options
author | 2014-08-28 14:04:55 -0700 | |
---|---|---|
committer | 2014-08-28 14:04:55 -0700 | |
commit | b17c1291085e50819c0c46aae783067c30a67516 (patch) | |
tree | 4bb2b5b1de8db25b8a19ae27bc5ebaedbf8ae9b0 /src/core/SkPath.cpp | |
parent | 4e4b935d526f5720b3f15c4742eef84d49ebb984 (diff) |
Add dirty_after_edit to SkPath::moveTo. Add commented out test case that triggers assert.
BUG=skia:1460
R=reed@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/517023003
Diffstat (limited to 'src/core/SkPath.cpp')
-rw-r--r-- | src/core/SkPath.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp index aa7943cf5a..c0049cad55 100644 --- a/src/core/SkPath.cpp +++ b/src/core/SkPath.cpp @@ -671,6 +671,8 @@ void SkPath::moveTo(SkScalar x, SkScalar y) { fLastMoveToIndex = fPathRef->countPoints(); ed.growForVerb(kMove_Verb)->set(x, y); + + DIRTY_AFTER_EDIT; } void SkPath::rMoveTo(SkScalar x, SkScalar y) { |