OLD | NEW |
1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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" | 5 #include "config.h" |
6 | 6 |
7 #include "cc/content_layer.h" | 7 #include "cc/content_layer.h" |
8 | 8 |
9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
10 #include "base/time.h" | 10 #include "base/time.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 setTextureFormat(textureFormat); | 99 setTextureFormat(textureFormat); |
100 } | 100 } |
101 | 101 |
102 void ContentLayer::setContentsOpaque(bool opaque) | 102 void ContentLayer::setContentsOpaque(bool opaque) |
103 { | 103 { |
104 Layer::setContentsOpaque(opaque); | 104 Layer::setContentsOpaque(opaque); |
105 if (m_updater) | 105 if (m_updater) |
106 m_updater->setOpaque(opaque); | 106 m_updater->setOpaque(opaque); |
107 } | 107 } |
108 | 108 |
109 } | 109 } // namespace cc |
OLD | NEW |