| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 4 * | 3 * |
| 5 * 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 |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 | 7 |
| 9 #include "SkTypes.h" | 8 #include "SkTypes.h" |
| 10 #if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) | 9 #if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) |
| 11 | 10 |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 if (SkBitmap::ComputeIsOpaque(tmp)) { | 304 if (SkBitmap::ComputeIsOpaque(tmp)) { |
| 306 tmp.setAlphaType(kOpaque_SkAlphaType); | 305 tmp.setAlphaType(kOpaque_SkAlphaType); |
| 307 } | 306 } |
| 308 } | 307 } |
| 309 | 308 |
| 310 *dst = tmp; | 309 *dst = tmp; |
| 311 return true; | 310 return true; |
| 312 } | 311 } |
| 313 | 312 |
| 314 #endif//defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) | 313 #endif//defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) |
| OLD | NEW |