| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2010 Google Inc. | 2 * Copyright 2010 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 | 8 |
| 10 | 9 |
| 11 #include "SkGrPixelRef.h" | 10 #include "SkGrPixelRef.h" |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 cachedBitmap.setImmutable(); | 205 cachedBitmap.setImmutable(); |
| 207 //Add to the cache | 206 //Add to the cache |
| 208 SkBitmapCache::Add(this, bounds, cachedBitmap); | 207 SkBitmapCache::Add(this, bounds, cachedBitmap); |
| 209 | 208 |
| 210 dst->swap(cachedBitmap); | 209 dst->swap(cachedBitmap); |
| 211 } | 210 } |
| 212 | 211 |
| 213 return true; | 212 return true; |
| 214 | 213 |
| 215 } | 214 } |
| OLD | NEW |