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

Side by Side Diff: tests/PDFGlyphsToUnicodeTest.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 3 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
« no previous file with comments | « tests/PDFDocumentTest.cpp ('k') | tests/PDFJpegEmbedTest.cpp » ('j') | 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 2010 The Android Open Source Project 2 * Copyright 2010 The Android Open Source Project
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 "SkData.h" 8 #include "SkData.h"
9 #include "SkPDFFont.h" 9 #include "SkPDFFont.h"
10 #include "SkPDFTypes.h" 10 #include "SkPDFTypes.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 "2 beginbfchar\n\ 119 "2 beginbfchar\n\
120 <000D> <0037>\n\ 120 <000D> <0037>\n\
121 <00FE> <1010>\n\ 121 <00FE> <1010>\n\
122 endbfchar\n"; 122 endbfchar\n";
123 123
124 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResultChop2, 124 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResultChop2,
125 buffer.getOffset())); 125 buffer.getOffset()));
126 126
127 buffer.reset(); 127 buffer.reset();
128 128
129 append_cmap_sections(glyphToUnicode, NULL, &buffer, false, 0xFC, 0x110); 129 append_cmap_sections(glyphToUnicode, nullptr, &buffer, false, 0xFC, 0x110);
130 130
131 char expectedResultSingleBytes[] = 131 char expectedResultSingleBytes[] =
132 "2 beginbfchar\n\ 132 "2 beginbfchar\n\
133 <0001> <0000>\n\ 133 <0001> <0000>\n\
134 <0002> <0000>\n\ 134 <0002> <0000>\n\
135 endbfchar\n\ 135 endbfchar\n\
136 1 beginbfrange\n\ 136 1 beginbfrange\n\
137 <0003> <0006> <1010>\n\ 137 <0003> <0006> <1010>\n\
138 endbfrange\n"; 138 endbfrange\n";
139 139
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 <004F> <006C>\n\ 171 <004F> <006C>\n\
172 <0051> <006E>\n\ 172 <0051> <006E>\n\
173 endbfchar\n\ 173 endbfchar\n\
174 1 beginbfrange\n\ 174 1 beginbfrange\n\
175 <0056> <0057> <0073>\n\ 175 <0056> <0057> <0073>\n\
176 endbfrange\n"; 176 endbfrange\n";
177 177
178 REPORTER_ASSERT(reporter, stream_equals(buffer2, 0, expectedResult2, 178 REPORTER_ASSERT(reporter, stream_equals(buffer2, 0, expectedResult2,
179 buffer2.getOffset())); 179 buffer2.getOffset()));
180 } 180 }
OLDNEW
« no previous file with comments | « tests/PDFDocumentTest.cpp ('k') | tests/PDFJpegEmbedTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698