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

Side by Side Diff: src/core/SkFontStream.h

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 | « src/core/SkFontMgr.cpp ('k') | src/core/SkFontStream.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 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 #ifndef SkFontStream_DEFINED 8 #ifndef SkFontStream_DEFINED
9 #define SkFontStream_DEFINED 9 #define SkFontStream_DEFINED
10 10
(...skipping 24 matching lines...) Expand all
35 /** 35 /**
36 * @param ttcIndex 0 for normal sfnts, or the index within a TTC sfnt. 36 * @param ttcIndex 0 for normal sfnts, or the index within a TTC sfnt.
37 * 37 *
38 * Note: the stream is rewound initially, but is returned at an arbitrary 38 * Note: the stream is rewound initially, but is returned at an arbitrary
39 * read offset. 39 * read offset.
40 */ 40 */
41 static size_t GetTableData(SkStream*, int ttcIndex, SkFontTableTag tag, 41 static size_t GetTableData(SkStream*, int ttcIndex, SkFontTableTag tag,
42 size_t offset, size_t length, void* data); 42 size_t offset, size_t length, void* data);
43 43
44 static size_t GetTableSize(SkStream* stream, int ttcIndex, SkFontTableTag ta g) { 44 static size_t GetTableSize(SkStream* stream, int ttcIndex, SkFontTableTag ta g) {
45 return GetTableData(stream, ttcIndex, tag, 0, ~0U, NULL); 45 return GetTableData(stream, ttcIndex, tag, 0, ~0U, nullptr);
46 } 46 }
47 }; 47 };
48 48
49 #endif 49 #endif
OLDNEW
« no previous file with comments | « src/core/SkFontMgr.cpp ('k') | src/core/SkFontStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698