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:
parent
45be4eb904
commit
7ee12ca99f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user