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

Side by Side Diff: src/core/SkFontDescriptor.cpp

Issue 916713003: Fix up a couple includes that are using <> instead of "". (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | src/opts/SkMorphology_opts.h » ('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 2012 Google Inc. 2 * Copyright 2012 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 "SkFontDescriptor.h" 8 #include "SkFontDescriptor.h"
9 #include "SkStream.h" 9 #include "SkStream.h"
10 #include <SkData.h> 10 #include "SkData.h"
11 11
12 enum { 12 enum {
13 // these must match the sfnt 'name' enums 13 // these must match the sfnt 'name' enums
14 kFontFamilyName = 0x01, 14 kFontFamilyName = 0x01,
15 kFullName = 0x04, 15 kFullName = 0x04,
16 kPostscriptName = 0x06, 16 kPostscriptName = 0x06,
17 17
18 // These count backwards from 0xFF, so as not to collide with the SFNT 18 // These count backwards from 0xFF, so as not to collide with the SFNT
19 // defines for names in its 'name' table. 19 // defines for names in its 'name' table.
20 kFontIndex = 0xFD, 20 kFontIndex = 0xFD,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 stream->writePackedUInt(kSentinel); 99 stream->writePackedUInt(kSentinel);
100 100
101 if (fFontData) { 101 if (fFontData) {
102 size_t length = fFontData->getLength(); 102 size_t length = fFontData->getLength();
103 stream->writePackedUInt(length); 103 stream->writePackedUInt(length);
104 stream->writeStream(fFontData, length); 104 stream->writeStream(fFontData, length);
105 } else { 105 } else {
106 stream->writePackedUInt(0); 106 stream->writePackedUInt(0);
107 } 107 }
108 } 108 }
OLDNEW
« no previous file with comments | « no previous file | src/opts/SkMorphology_opts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698