aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/PdfViewer
diff options
context:
space:
mode:
authorGravatar edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-10 23:26:54 +0000
committerGravatar edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-10 23:26:54 +0000
commitc8b3037eeb15936285767ed07528efb4263edaaa (patch)
treed91c505dc8243922309a005d54f5b4be2e8ea44a /experimental/PdfViewer
parent951d6532de49003cd5a43f57caf91dd6d3efc33e (diff)
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
Diffstat (limited to 'experimental/PdfViewer')
-rw-r--r--experimental/PdfViewer/SkPdfRenderer.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/experimental/PdfViewer/SkPdfRenderer.cpp b/experimental/PdfViewer/SkPdfRenderer.cpp
index 39cae9c7d6..7c4b47465d 100644
--- a/experimental/PdfViewer/SkPdfRenderer.cpp
+++ b/experimental/PdfViewer/SkPdfRenderer.cpp
@@ -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;
}