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

Unified Diff: src/utils/SkPDFRasterizer.cpp

Issue 299663006: Remove pdfviewer. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove comment Created 6 years, 7 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/utils/SkPDFRasterizer.h ('k') | tests/TDStackNesterTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkPDFRasterizer.cpp
diff --git a/src/utils/SkPDFRasterizer.cpp b/src/utils/SkPDFRasterizer.cpp
index 66634804bc6aa2371ecf983eae50fb8a16c5d5d8..e4f18c173f734bed13b5fda1f59cef0388ab393d 100644
--- a/src/utils/SkPDFRasterizer.cpp
+++ b/src/utils/SkPDFRasterizer.cpp
@@ -14,10 +14,6 @@
#include "SkPDFRasterizer.h"
#include "SkColorPriv.h"
-#ifdef SK_BUILD_NATIVE_PDF_RENDERER
-#include "SkPdfRenderer.h"
-#endif // SK_BUILD_NATIVE_PDF_RENDERER
-
#ifdef SK_BUILD_POPPLER
#include <poppler-document.h>
#include <poppler-image.h>
@@ -78,9 +74,3 @@ bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output) {
return true;
}
#endif // SK_BUILD_POPPLER
-
-#ifdef SK_BUILD_NATIVE_PDF_RENDERER
-bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output) {
- return SkPDFNativeRenderToBitmap(pdf, output);
-}
-#endif // SK_BUILD_NATIVE_PDF_RENDERER
« no previous file with comments | « src/utils/SkPDFRasterizer.h ('k') | tests/TDStackNesterTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698