OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 | |
7 #include "cc/resource_update.h" | 5 #include "cc/resource_update.h" |
8 | 6 |
9 #include "base/logging.h" | 7 #include "base/logging.h" |
10 | 8 |
11 namespace cc { | 9 namespace cc { |
12 | 10 |
13 ResourceUpdate ResourceUpdate::Create(PrioritizedResource* texture, | 11 ResourceUpdate ResourceUpdate::Create(PrioritizedResource* texture, |
14 const SkBitmap* bitmap, | 12 const SkBitmap* bitmap, |
15 gfx::Rect content_rect, | 13 gfx::Rect content_rect, |
16 gfx::Rect source_rect, | 14 gfx::Rect source_rect, |
(...skipping 26 matching lines...) Expand all Loading... |
43 ResourceUpdate::ResourceUpdate() | 41 ResourceUpdate::ResourceUpdate() |
44 : texture(NULL), | 42 : texture(NULL), |
45 bitmap(NULL), | 43 bitmap(NULL), |
46 picture(NULL) { | 44 picture(NULL) { |
47 } | 45 } |
48 | 46 |
49 ResourceUpdate::~ResourceUpdate() { | 47 ResourceUpdate::~ResourceUpdate() { |
50 } | 48 } |
51 | 49 |
52 } // namespace cc | 50 } // namespace cc |
OLD | NEW |