| 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 SkBitmapRegionDecoderPriv_DEFINED | 8 #ifndef SkBitmapRegionDecoderPriv_DEFINED |
| 9 #define SkBitmapRegionDecoderPriv_DEFINED | 9 #define SkBitmapRegionDecoderPriv_DEFINED |
| 10 | 10 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 subset->setXYWH(left, top, width, height); | 54 subset->setXYWH(left, top, width, height); |
| 55 if ((*outX != 0) || (*outY != 0) || (width != subset->width()) || | 55 if ((*outX != 0) || (*outY != 0) || (width != subset->width()) || |
| 56 (height != subset->height())) { | 56 (height != subset->height())) { |
| 57 return SubsetType::kPartiallyInside_SubsetType; | 57 return SubsetType::kPartiallyInside_SubsetType; |
| 58 } | 58 } |
| 59 | 59 |
| 60 return SubsetType::kFullyInside_SubsetType; | 60 return SubsetType::kFullyInside_SubsetType; |
| 61 } | 61 } |
| 62 | 62 |
| 63 #endif // SkBitmapRegionDecoderPriv_DEFINED | 63 #endif // SkBitmapRegionDecoderPriv_DEFINED |
| OLD | NEW |