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 "cc/picture_layer.h" | 5 #include "cc/picture_layer.h" |
6 | 6 |
7 #include "cc/layer_tree_impl.h" | 7 #include "cc/layer_tree_impl.h" |
8 #include "cc/picture_layer_impl.h" | 8 #include "cc/picture_layer_impl.h" |
9 #include "ui/gfx/rect_conversions.h" | 9 #include "ui/gfx/rect_conversions.h" |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 pile_invalidation_.Swap(pending_invalidation_); | 61 pile_invalidation_.Swap(pending_invalidation_); |
62 pending_invalidation_.Clear(); | 62 pending_invalidation_.Clear(); |
63 | 63 |
64 pile_.Update(client_, pile_invalidation_, stats); | 64 pile_.Update(client_, pile_invalidation_, stats); |
65 } | 65 } |
66 | 66 |
67 void PictureLayer::setIsMask(bool is_mask) { | 67 void PictureLayer::setIsMask(bool is_mask) { |
68 is_mask_ = is_mask; | 68 is_mask_ = is_mask; |
69 } | 69 } |
70 | 70 |
| 71 bool PictureLayer::isPictureLayer() const { |
| 72 return true; |
| 73 } |
| 74 |
71 } // namespace cc | 75 } // namespace cc |
OLD | NEW |