diff options
-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. */ |