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

Unified Diff: experimental/PdfViewer/SkPdfParser.cpp

Issue 18293012: pdf viewer: fix a few warnings, and enable warning as errors (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 | « experimental/PdfViewer/SkPdfFont.cpp ('k') | experimental/PdfViewer/pdf_viewer_main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/PdfViewer/SkPdfParser.cpp
===================================================================
--- experimental/PdfViewer/SkPdfParser.cpp (revision 9962)
+++ experimental/PdfViewer/SkPdfParser.cpp (working copy)
@@ -1905,12 +1905,12 @@
// references automatically.
bool SkPdfViewer::load(const SkString inputFileName, SkPicture* out) {
- std::cout << "Init: " << inputFileName.c_str() << std::endl;
+ std::cout << "PDF Loaded: " << inputFileName.c_str() << std::endl;
SkNativeParsedPDF* doc = new SkNativeParsedPDF(inputFileName.c_str());
if (!doc->pages())
{
- std::cout << "ERROR: Empty Document" << inputFileName.c_str() << std::endl;
+ std::cout << "ERROR: Empty PDF Document" << inputFileName.c_str() << std::endl;
return false;
} else {
« no previous file with comments | « experimental/PdfViewer/SkPdfFont.cpp ('k') | experimental/PdfViewer/pdf_viewer_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698