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
This commit is contained in:
edisonn@google.com 2013-08-05 18:18:06 +00:00
parent 45be4eb904
commit 7ee12ca99f

View File

@ -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) {