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

Side by Side Diff: tests/PDFJpegEmbedTest.cpp

Issue 1372783003: SkPDF: Implement drawImage*() properly (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
« include/private/SkTHash.h ('K') | « src/pdf/SkPDFDevice.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 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 "SkDocument.h" 8 #include "SkDocument.h"
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkImageGenerator.h" 10 #include "SkImageGenerator.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 114 }
115 if (!isJfif) { 115 if (!isJfif) {
116 continue; // not applicable 116 continue; // not applicable
117 } 117 }
118 if (kTests[i].type != info.fType) { 118 if (kTests[i].type != info.fType) {
119 ERRORF(r, "%s failed jfif type test", kTests[i].path); 119 ERRORF(r, "%s failed jfif type test", kTests[i].path);
120 continue; 120 continue;
121 } 121 }
122 if (r->verbose()) { 122 if (r->verbose()) {
123 SkDebugf("\nJpegIdentification: %s [%d x %d]\n", kTests[i].path, 123 SkDebugf("\nJpegIdentification: %s [%d x %d]\n", kTests[i].path,
124 info.fWidth, info.fHeight); 124 info.fSize.width(), info.fSize.height());
125 } 125 }
126 } 126 }
127 } 127 }
OLDNEW
« include/private/SkTHash.h ('K') | « src/pdf/SkPDFDevice.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698