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 #include "web_io_surface_layer_impl.h" | 5 #include "web_io_surface_layer_impl.h" |
7 | 6 |
8 #include "cc/io_surface_layer.h" | 7 #include "cc/io_surface_layer.h" |
9 #include "web_layer_impl.h" | 8 #include "web_layer_impl.h" |
10 | 9 |
11 using cc::IOSurfaceLayer; | 10 using cc::IOSurfaceLayer; |
12 | 11 |
13 namespace WebKit { | 12 namespace WebKit { |
14 | 13 |
15 WebIOSurfaceLayer* WebIOSurfaceLayer::create() | 14 WebIOSurfaceLayer* WebIOSurfaceLayer::create() |
(...skipping 15 matching lines...) Expand all Loading... |
31 { | 30 { |
32 static_cast<IOSurfaceLayer*>(m_layer->layer())->setIOSurfaceProperties(ioSur
faceId, size); | 31 static_cast<IOSurfaceLayer*>(m_layer->layer())->setIOSurfaceProperties(ioSur
faceId, size); |
33 } | 32 } |
34 | 33 |
35 WebLayer* WebIOSurfaceLayerImpl::layer() | 34 WebLayer* WebIOSurfaceLayerImpl::layer() |
36 { | 35 { |
37 return m_layer.get(); | 36 return m_layer.get(); |
38 } | 37 } |
39 | 38 |
40 } // namespace WebKit | 39 } // namespace WebKit |
OLD | NEW |