From cb73b31bcd7e334e46ee55e92a9b13f3f834d7ba Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Wed, 15 Aug 2012 14:52:58 +0000 Subject: [PATCH] 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 --- src/core/SkMaskGamma.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/SkMaskGamma.h b/src/core/SkMaskGamma.h index e8fa703f3..7498f64d8 100644 --- a/src/core/SkMaskGamma.h +++ b/src/core/SkMaskGamma.h @@ -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. */