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 #include "SkBitmapRegionCanvas.h" | 8 #include "SkBitmapRegionCanvas.h" |
9 #include "SkBitmapRegionCodec.h" | 9 #include "SkBitmapRegionCodec.h" |
10 #include "SkBitmapRegionDecoder.h" | 10 #include "SkBitmapRegionDecoder.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 SkCodecPrintf("Error: Failed to create codec.\n"); | 53 SkCodecPrintf("Error: Failed to create codec.\n"); |
54 return NULL; | 54 return NULL; |
55 } | 55 } |
56 return new SkBitmapRegionCodec(codec.detach()); | 56 return new SkBitmapRegionCodec(codec.detach()); |
57 } | 57 } |
58 default: | 58 default: |
59 SkASSERT(false); | 59 SkASSERT(false); |
60 return nullptr; | 60 return nullptr; |
61 } | 61 } |
62 } | 62 } |
OLD | NEW |