summaryrefslogtreecommitdiffstats
path: root/cc/io_surface_layer.cc
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-22 23:09:55 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-22 23:09:55 +0000
commit96baf3e81b1df4b0836d70c3cded9795e63fa789 (patch)
tree4332d128a05777ae34641ca2f185b7b548330b8d /cc/io_surface_layer.cc
parent1597399122fa6d8343dc6d5cdb771f95908c09b1 (diff)
downloadchromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.zip
chromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.tar.gz
chromium_src-96baf3e81b1df4b0836d70c3cded9795e63fa789.tar.bz2
cc: Rename cc classes and members to match filenames
Fixed reland of https://chromiumcodereview.appspot.com/11189043/ TBR=jam@chromium.org,jamesr@chromium.org BUG=155413 Review URL: https://codereview.chromium.org/11231054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163429 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/io_surface_layer.cc')
-rw-r--r--cc/io_surface_layer.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/cc/io_surface_layer.cc b/cc/io_surface_layer.cc
index df125d1..a96dcca 100644
--- a/cc/io_surface_layer.cc
+++ b/cc/io_surface_layer.cc
@@ -10,43 +10,43 @@
namespace cc {
-scoped_refptr<IOSurfaceLayerChromium> IOSurfaceLayerChromium::create()
+scoped_refptr<IOSurfaceLayer> IOSurfaceLayer::create()
{
- return make_scoped_refptr(new IOSurfaceLayerChromium());
+ return make_scoped_refptr(new IOSurfaceLayer());
}
-IOSurfaceLayerChromium::IOSurfaceLayerChromium()
- : LayerChromium()
+IOSurfaceLayer::IOSurfaceLayer()
+ : Layer()
, m_ioSurfaceId(0)
{
}
-IOSurfaceLayerChromium::~IOSurfaceLayerChromium()
+IOSurfaceLayer::~IOSurfaceLayer()
{
}
-void IOSurfaceLayerChromium::setIOSurfaceProperties(uint32_t ioSurfaceId, const IntSize& size)
+void IOSurfaceLayer::setIOSurfaceProperties(uint32_t ioSurfaceId, const IntSize& size)
{
m_ioSurfaceId = ioSurfaceId;
m_ioSurfaceSize = size;
setNeedsCommit();
}
-scoped_ptr<CCLayerImpl> IOSurfaceLayerChromium::createCCLayerImpl()
+scoped_ptr<LayerImpl> IOSurfaceLayer::createLayerImpl()
{
- return CCIOSurfaceLayerImpl::create(m_layerId).PassAs<CCLayerImpl>();
+ return IOSurfaceLayerImpl::create(m_layerId).PassAs<LayerImpl>();
}
-bool IOSurfaceLayerChromium::drawsContent() const
+bool IOSurfaceLayer::drawsContent() const
{
- return m_ioSurfaceId && LayerChromium::drawsContent();
+ return m_ioSurfaceId && Layer::drawsContent();
}
-void IOSurfaceLayerChromium::pushPropertiesTo(CCLayerImpl* layer)
+void IOSurfaceLayer::pushPropertiesTo(LayerImpl* layer)
{
- LayerChromium::pushPropertiesTo(layer);
+ Layer::pushPropertiesTo(layer);
- CCIOSurfaceLayerImpl* textureLayer = static_cast<CCIOSurfaceLayerImpl*>(layer);
+ IOSurfaceLayerImpl* textureLayer = static_cast<IOSurfaceLayerImpl*>(layer);
textureLayer->setIOSurfaceProperties(m_ioSurfaceId, m_ioSurfaceSize);
}