diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-15 14:52:58 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-15 14:52:58 +0000 |
commit | cb73b31bcd7e334e46ee55e92a9b13f3f834d7ba (patch) | |
tree | b0480578b08e4db09e39ed8e450b679d6ccd2446 /src | |
parent | 67b89eeeb07aa0485db233b5f356031fe15b57c4 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkMaskGamma.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/SkMaskGamma.h b/src/core/SkMaskGamma.h index e8fa703f36..7498f64d87 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. */ |