Chromium Code Reviews
DescriptionFactory methods for heap-allocated SkMaskFilter objects.
This is part of an effort to ensure that all SkPaint effects can only be
allocated on the heap.
This patch makes the constructors of SkMaskFilter and its subclasses non-public
and instead provides factory methods for creating these objects on the heap. We
temporarily keep constructor of publicly visible classes public behind a flag.
BUG=skia:2187
Committed: http://code.google.com/p/skia/source/detail?r=13527
Patch Set 1 : #
Total comments: 6
Patch Set 2 : Add SkTableMaskFilter::Create(table) and remove deprecated SkEmbossMaskFilter constructor. #
Messages
Total messages: 8 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||