pdfviewer: don't delete variables, they are managed by the doc now

Review URL: https://codereview.chromium.org/18435010

git-svn-id: http://skia.googlecode.com/svn/trunk@9989 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
edisonn@google.com 2013-07-10 23:26:54 +00:00
parent 951d6532de
commit c8b3037eeb

View File

@ -842,9 +842,6 @@ static PdfResult PdfOp_TD(PdfContext* pdfContext, SkCanvas* canvas, PdfTokenLoop
// TODO(edisonn): delete all the objects after rendering was complete, in this way pdf is rendered faster
// and the cleanup can happen while the user looks at the image
delete _ty;
delete vtx;
delete vty;
return ret;
}
@ -887,9 +884,6 @@ static PdfResult PdfOp_T_star(PdfContext* pdfContext, SkCanvas* canvas, PdfToken
PdfResult ret = PdfOp_Td(pdfContext, canvas, looper);
delete zero; // TODO(edisonn): do not alocate and delete constants!
delete tl;
return ret;
}