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

Unified Diff: tools/render_pdfs_main.cpp

Issue 418173012: Revert of Memory improvements to render_pdfs; better DM pool size defaults (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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 | « src/lazy/SkDiscardableMemoryPool.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/render_pdfs_main.cpp
diff --git a/tools/render_pdfs_main.cpp b/tools/render_pdfs_main.cpp
index 5e87ec2e460f1880472ecde5e2828e9980b21de3..6e1d609cde7391b8a1a52fe793ee0b499d45ea6f 100644
--- a/tools/render_pdfs_main.cpp
+++ b/tools/render_pdfs_main.cpp
@@ -17,7 +17,6 @@
#include "SkTArray.h"
#include "PdfRenderer.h"
#include "picture_utils.h"
-#include "LazyDecodeBitmap.h"
__SK_FORCE_IMAGE_DECODER_LINKING;
@@ -159,9 +158,7 @@
return false;
}
- SkAutoTUnref<SkPicture> picture(
- SkPicture::CreateFromStream(
- &inputStream, &sk_tools::LazyDecodeBitmap));
+ SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(&inputStream));
if (NULL == picture.get()) {
SkDebugf("Could not read an SkPicture from %s\n", inputPath.c_str());
« no previous file with comments | « src/lazy/SkDiscardableMemoryPool.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698