commit | a62d32d1e3112c7e5a26c27e5e967d124ef8dd81 | [log] [tgz] |
---|---|---|
author | fmalita <fmalita@chromium.org> | Tue Apr 28 08:08:57 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Apr 28 08:08:57 2015 -0700 |
tree | 165e47e549310f6f7331a56bacd23fb612a60115 | |
parent | 72e3ae486c66871c2043eac4f08d85d419fbca2a [diff] |
Decrement SkCanvas::fDeferredSaveCount in doSave() We're currently decrementing early in checkForDeferredSave(), but that means we break the getSaveCount() invariant during willSave() dispatch. Instead, we can defer to doSave(), until after willSave() is called. This allows overriders to call getSaveCount(). R=reed@google.com,robertphillips@google.com Review URL: https://codereview.chromium.org/1113603002