Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright 2008 Google Inc. | 2 * Copyright 2008 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 "SkFontConfigInterface.h" | 8 #include "SkFontConfigInterface.h" |
| 9 #include "SkFontConfigTypeface.h" | 9 #include "SkFontConfigTypeface.h" |
| 10 #include "SkFontDescriptor.h" | 10 #include "SkFontDescriptor.h" |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 190 : 0; | 190 : 0; |
| 191 } | 191 } |
| 192 | 192 |
| 193 void FontConfigTypeface::onGetFontDescriptor(SkFontDescriptor* desc, | 193 void FontConfigTypeface::onGetFontDescriptor(SkFontDescriptor* desc, |
| 194 bool* isLocalStream) const { | 194 bool* isLocalStream) const { |
| 195 desc->setFamilyName(this->getFamilyName()); | 195 desc->setFamilyName(this->getFamilyName()); |
| 196 *isLocalStream = SkToBool(this->getLocalStream()); | 196 *isLocalStream = SkToBool(this->getLocalStream()); |
| 197 } | 197 } |
| 198 | 198 |
| 199 /////////////////////////////////////////////////////////////////////////////// | 199 /////////////////////////////////////////////////////////////////////////////// |
| 200 | |
|
bungeman-skia
2013/07/02 16:04:20
?? just two extra lines?
| |
| 201 | |
| OLD | NEW |