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

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: Created 7 years, 1 month 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // and report where the error was triggered 117 // and report where the error was triggered
118 SkPdfReport(kCodeWarning_SkPdfIssueSeverity, kNYI_SkPdfIssue, token.fKey word, NULL, 118 SkPdfReport(kCodeWarning_SkPdfIssueSeverity, kNYI_SkPdfIssue, token.fKey word, NULL,
119 fPdfContext); 119 fPdfContext);
120 return kIgnoreError_SkPdfResult; 120 return kIgnoreError_SkPdfResult;
121 } 121 }
122 return kOK_SkPdfResult; 122 return kOK_SkPdfResult;
123 } 123 }
124 124
125 void PdfMainLooper::loop() { 125 void PdfMainLooper::loop() {
126 PdfToken token; 126 PdfToken token;
127 // readToken defined in SkPdfTokenLooper.h 127 while (fTokenizer->readToken(&token, true)) {
128 while (readToken(fTokenizer, &token)) {
129 this->consumeToken(token); 128 this->consumeToken(token);
130 } 129 }
131 } 130 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698