Index: tools/render_pdfs_main.cpp |
diff --git a/tools/render_pdfs_main.cpp b/tools/render_pdfs_main.cpp |
index 34e5e58f53d0eac4949c4e236f02b3e5c47e9133..be294399ec24e576ec46f5be1f35ad43780dcc42 100644 |
--- a/tools/render_pdfs_main.cpp |
+++ b/tools/render_pdfs_main.cpp |
@@ -18,7 +18,6 @@ |
#include "SkTArray.h" |
#include "SkTSort.h" |
#include "PdfRenderer.h" |
-#include "ProcStats.h" |
#include "picture_utils.h" |
__SK_FORCE_IMAGE_DECODER_LINKING; |
@@ -220,9 +219,7 @@ |
} |
} |
} |
- if (files.count() > 0) { |
- SkTQSort<SkString>(files.begin(), files.end() - 1); |
- } |
+ SkTQSort<SkString>(files.begin(), files.end() - 1); |
int failures = 0; |
for (int i = 0; i < files.count(); i ++) { |
if (!render_pdf(files[i], outputDir, renderer)) { |
@@ -249,11 +246,6 @@ |
int failures = process_input(FLAGS_inputPaths, outputDir, *renderer); |
- int max_rss_kb = sk_tools::getMaxResidentSetSizeKB(); |
- if (max_rss_kb >= 0) { |
- SkDebugf("%4dM peak ResidentSetSize\n", max_rss_kb / 1024); |
- } |
- |
if (failures != 0) { |
SkDebugf("Failed to render %i PDFs.\n", failures); |
return 1; |