OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 #include "config.h" |
| 6 |
5 #include <time.h> | 7 #include <time.h> |
6 | 8 |
7 #include "SkMatrix.h" | 9 #include "SkMatrix.h" |
8 #include "SkRegion.h" | 10 #include "SkRegion.h" |
9 #include "SkUtils.h" | 11 #include "SkUtils.h" |
10 | 12 |
11 #include "base/gfx/bitmap_platform_device_mac.h" | 13 #include "base/gfx/bitmap_platform_device_mac.h" |
12 #include "base/gfx/skia_utils_mac.h" | 14 #include "base/gfx/skia_utils_mac.h" |
13 #include "base/logging.h" | 15 #include "base/logging.h" |
14 | 16 |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 size_t offset = (i + bitmap_start_y) * row_words + bitmap_start_x; | 282 size_t offset = (i + bitmap_start_y) * row_words + bitmap_start_x; |
281 for (int j = 0; j < width; j++) { | 283 for (int j = 0; j < width; j++) { |
282 adjustor(data + offset + j); | 284 adjustor(data + offset + j); |
283 } | 285 } |
284 } | 286 } |
285 } | 287 } |
286 } | 288 } |
287 | 289 |
288 } // namespace gfx | 290 } // namespace gfx |
289 | 291 |
OLD | NEW |