diff options
author | edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-05 18:18:06 +0000 |
---|---|---|
committer | edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-05 18:18:06 +0000 |
commit | 7ee12ca99f4ac0aadb8c4d29ae793c411faf73db (patch) | |
tree | f5614f26f226af283fba44d17d4f8368a2a4b745 /experimental/PdfViewer | |
parent | 45be4eb90426e17bde8f36478cc02f076fdc87d9 (diff) |
pdfviewer: add virtual destructor for SkPdfFont
Review URL: https://codereview.chromium.org/22239002
git-svn-id: http://skia.googlecode.com/svn/trunk@10541 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/PdfViewer')
-rw-r--r-- | experimental/PdfViewer/SkPdfFont.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/experimental/PdfViewer/SkPdfFont.h b/experimental/PdfViewer/SkPdfFont.h index c484727345..d5641b2847 100644 --- a/experimental/PdfViewer/SkPdfFont.h +++ b/experimental/PdfViewer/SkPdfFont.h @@ -164,6 +164,10 @@ public: public: SkPdfFont() : fBaseFont(NULL), fEncoding(SkPdfDefaultEncoding::instance()), fToUnicode(NULL) {} + virtual ~SkPdfFont() { + // TODO(edisonn): NYI (will leak for now) + } + const SkPdfEncoding* encoding() const {return fEncoding;} void drawText(const SkDecodedText& text, SkPaint* paint, PdfContext* pdfContext, SkCanvas* canvas) { |