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

Unified Diff: experimental/PdfViewer/src/SkPdfContext.cpp

Issue 80463005: Separate and update PDF_DIFF_TRACE_IN_PNG (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 7 years 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
Index: experimental/PdfViewer/src/SkPdfContext.cpp
diff --git a/experimental/PdfViewer/src/SkPdfContext.cpp b/experimental/PdfViewer/src/SkPdfContext.cpp
index 6904e344b98d8fb228f95ecbd1c806a6b21a09ec..c2162556bb41932051fa572d44dcc9ec448750b3 100644
--- a/experimental/PdfViewer/src/SkPdfContext.cpp
+++ b/experimental/PdfViewer/src/SkPdfContext.cpp
@@ -126,10 +126,7 @@ SkPdfResult PdfMainLooper::consumeToken(PdfToken& token) {
void PdfMainLooper::loop() {
PdfToken token;
- // readToken defined in SkPdfTokenLooper.h
- // FIXME (scroggo): Remove readToken (which just calls fTokenizer->readToken, plus draws
- // some debugging info with PDF_DIFF_TRACE_IN_PNG)
- while (readToken(fTokenizer, &token)) {
+ while (fTokenizer->readToken(&token, true)) {
this->consumeToken(token);
}
}
« no previous file with comments | « experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp ('k') | experimental/PdfViewer/src/SkPdfDiffEncoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698