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:
robertphillips@google.com 2012-08-15 14:52:58 +00:00
parent 67b89eeeb0
commit cb73b31bcd

View File

@ -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. */