Added virtual destructor to SkColorSpaceLuminance
http://codereview.appspot.com/6459092/ git-svn-id: http://skia.googlecode.com/svn/trunk@5110 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
67b89eeeb0
commit
cb73b31bcd
@ -22,6 +22,8 @@
|
||||
*/
|
||||
class SkColorSpaceLuminance : SkNoncopyable {
|
||||
public:
|
||||
virtual ~SkColorSpaceLuminance() {};
|
||||
|
||||
/** Converts a color component luminance in the color space to a linear luma. */
|
||||
virtual SkScalar toLuma(SkScalar luminance) const = 0;
|
||||
/** Converts a linear luma to a color component luminance in the color space. */
|
||||
|
Loading…
Reference in New Issue
Block a user