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 #if USE(ACCELERATED_COMPOSITING) | 7 #if USE(ACCELERATED_COMPOSITING) |
8 | 8 |
9 #include "ContentLayerChromium.h" | 9 #include "ContentLayerChromium.h" |
10 | 10 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 void ContentLayerChromium::setContentsOpaque(bool opaque) | 105 void ContentLayerChromium::setContentsOpaque(bool opaque) |
106 { | 106 { |
107 LayerChromium::setContentsOpaque(opaque); | 107 LayerChromium::setContentsOpaque(opaque); |
108 if (m_textureUpdater) | 108 if (m_textureUpdater) |
109 m_textureUpdater->setOpaque(opaque); | 109 m_textureUpdater->setOpaque(opaque); |
110 } | 110 } |
111 | 111 |
112 } | 112 } |
113 #endif // USE(ACCELERATED_COMPOSITING) | 113 #endif // USE(ACCELERATED_COMPOSITING) |
OLD | NEW |