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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkPdfContext.h" 8 #include "SkPdfContext.h"
9 #include "SkPdfNativeDoc.h" 9 #include "SkPdfNativeDoc.h"
10 #include "SkPdfReporter.h" 10 #include "SkPdfReporter.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // and report where the error was triggered 119 // and report where the error was triggered
120 SkPdfReport(kCodeWarning_SkPdfIssueSeverity, kNYI_SkPdfIssue, token.fKey word, NULL, 120 SkPdfReport(kCodeWarning_SkPdfIssueSeverity, kNYI_SkPdfIssue, token.fKey word, NULL,
121 fPdfContext); 121 fPdfContext);
122 return kIgnoreError_SkPdfResult; 122 return kIgnoreError_SkPdfResult;
123 } 123 }
124 return kOK_SkPdfResult; 124 return kOK_SkPdfResult;
125 } 125 }
126 126
127 void PdfMainLooper::loop() { 127 void PdfMainLooper::loop() {
128 PdfToken token; 128 PdfToken token;
129 // readToken defined in SkPdfTokenLooper.h 129 while (fTokenizer->readToken(&token, true)) {
130 // FIXME (scroggo): Remove readToken (which just calls fTokenizer->readToken , plus draws
131 // some debugging info with PDF_DIFF_TRACE_IN_PNG)
132 while (readToken(fTokenizer, &token)) {
133 this->consumeToken(token); 130 this->consumeToken(token);
134 } 131 }
135 } 132 }
OLDNEW
« 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