diff options
author | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2010-10-15 18:58:19 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2010-10-15 18:58:19 +0000 |
commit | b70ae310bbdaa1b26786773aabce5548c1f48563 (patch) | |
tree | 917b6924a21ae5c541347da5d8fbd71ebb2000a1 /include/views/SkApplication.h | |
parent | 8d84fac294682647694b0d2d8a87ac2bd19b6aab (diff) |
Fix a memory leak in the new Canvas/Device workflow.
The previous change made it difficult to inherit from SkCanvas without leaking memory. By making SkDeviceFactory not reference counted, the right thing happens more naturally, just NewCanvas : public SkCanvas(new NewDeviceFactory()) {...}
Review URL: http://codereview.appspot.com/2530042
git-svn-id: http://skia.googlecode.com/svn/trunk@605 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/views/SkApplication.h')
0 files changed, 0 insertions, 0 deletions