OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 SkCodec_DEFINED | 8 #ifndef SkCodec_DEFINED |
9 #define SkCodec_DEFINED | 9 #define SkCodec_DEFINED |
10 | 10 |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 // Calling the virtual method also means we do not double count | 470 // Calling the virtual method also means we do not double count |
471 // countLines. | 471 // countLines. |
472 return this->onGetScanlines(storage.get(), countLines, 0); | 472 return this->onGetScanlines(storage.get(), countLines, 0); |
473 } | 473 } |
474 | 474 |
475 virtual SkCodec::Result onGetScanlines(void* dst, int countLines, | 475 virtual SkCodec::Result onGetScanlines(void* dst, int countLines, |
476 size_t rowBytes) { | 476 size_t rowBytes) { |
477 return kUnimplemented; | 477 return kUnimplemented; |
478 } | 478 } |
479 | 479 |
| 480 friend class SkScaledCodec; |
480 }; | 481 }; |
481 #endif // SkCodec_DEFINED | 482 #endif // SkCodec_DEFINED |
OLD | NEW |