Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3002)

Unified Diff: experimental/PdfViewer/SkPdfRenderer.cpp

Issue 18435010: pdfviewer: don't delete variables, they are managed by the doc now (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/PdfViewer/SkPdfRenderer.cpp
===================================================================
--- experimental/PdfViewer/SkPdfRenderer.cpp (revision 9983)
+++ experimental/PdfViewer/SkPdfRenderer.cpp (working copy)
@@ -842,9 +842,6 @@
// 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 @@
PdfResult ret = PdfOp_Td(pdfContext, canvas, looper);
- delete zero; // TODO(edisonn): do not alocate and delete constants!
- delete tl;
-
return ret;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698