aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-15 14:52:58 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-15 14:52:58 +0000
commitcb73b31bcd7e334e46ee55e92a9b13f3f834d7ba (patch)
treeb0480578b08e4db09e39ed8e450b679d6ccd2446 /src
parent67b89eeeb07aa0485db233b5f356031fe15b57c4 (diff)
Added virtual destructor to SkColorSpaceLuminance
Diffstat (limited to 'src')
-rw-r--r--src/core/SkMaskGamma.h2
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. */