DescriptionFix 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()) {...}
Committed: http://code.google.com/p/skia/source/detail?r=605
Patch Set 1 #
MessagesTotal messages: 2
|