| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 | 5 |
| 6 #include "config.h" | 6 #include "config.h" |
| 7 | 7 |
| 8 #if USE(ACCELERATED_COMPOSITING) | 8 #if USE(ACCELERATED_COMPOSITING) |
| 9 | 9 |
| 10 #include "SkPictureCanvasLayerTextureUpdater.h" | 10 #include "SkPictureCanvasLayerTextureUpdater.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 canvas->drawPicture(m_picture); | 38 canvas->drawPicture(m_picture); |
| 39 } | 39 } |
| 40 | 40 |
| 41 void SkPictureCanvasLayerTextureUpdater::setOpaque(bool opaque) | 41 void SkPictureCanvasLayerTextureUpdater::setOpaque(bool opaque) |
| 42 { | 42 { |
| 43 m_layerIsOpaque = opaque; | 43 m_layerIsOpaque = opaque; |
| 44 } | 44 } |
| 45 | 45 |
| 46 } // namespace cc | 46 } // namespace cc |
| 47 #endif // USE(ACCELERATED_COMPOSITING) | 47 #endif // USE(ACCELERATED_COMPOSITING) |
| OLD | NEW |