aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental
diff options
context:
space:
mode:
authorGravatar mtklein@google.com <mtklein@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-20 14:29:51 +0000
committerGravatar mtklein@google.com <mtklein@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-20 14:29:51 +0000
commit9615f8dbf19be50c419759920e7595bcf7e5350a (patch)
treebbb2a0b8ab25641fd64de60dbd15f062363349a1 /experimental
parentb60cdc8f4c57b461054f5b6b0995961719138237 (diff)
Add missing (trivial) virtual destructors.
BUG= R=scroggo@google.com Review URL: https://codereview.chromium.org/78543002 git-svn-id: http://skia.googlecode.com/svn/trunk@12312 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental')
-rw-r--r--experimental/PdfViewer/SkPdfFont.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/experimental/PdfViewer/SkPdfFont.h b/experimental/PdfViewer/SkPdfFont.h
index 85ce6512d9..71f98db2ca 100644
--- a/experimental/PdfViewer/SkPdfFont.h
+++ b/experimental/PdfViewer/SkPdfFont.h
@@ -77,6 +77,7 @@ public:
class SkPdfEncoding {
public:
+ virtual ~SkPdfEncoding() {}
virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const = 0;
static SkPdfEncoding* fromName(const char* name);
};
@@ -96,6 +97,7 @@ public:
class SkPdfIdentityHEncoding : public SkPdfEncoding {
public:
+ virtual ~SkPdfIdentityHEncoding() {}
virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const {
// TODO(edisonn): SkASSERT(textIn.len % 2 == 0); or report error?
@@ -119,6 +121,7 @@ public:
// TODO(edisonn): using this one when no encoding is specified
class SkPdfDefaultEncoding : public SkPdfEncoding {
public:
+ virtual ~SkPdfDefaultEncoding() {}
virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const {
// TODO(edisonn): SkASSERT(textIn.len % 2 == 0); or report error?
@@ -141,6 +144,7 @@ public:
class SkPdfCIDToGIDMapIdentityEncoding : public SkPdfEncoding {
public:
+ virtual ~SkPdfCIDToGIDMapIdentityEncoding() {}
virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const {
// TODO(edisonn): SkASSERT(textIn.len % 2 == 0); or report error?