Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1654)

Unified Diff: cc/io_surface_layer.cc

Issue 12774006: cc: Chromify Layer and LayerImpl classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MoreAndroidCompilings Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/io_surface_layer.h ('k') | cc/io_surface_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/io_surface_layer.cc
diff --git a/cc/io_surface_layer.cc b/cc/io_surface_layer.cc
index 96cfc1608b32f4d8e795930aa5f3188311327e93..578737ea371839642c09560e98b2863ec3243095 100644
--- a/cc/io_surface_layer.cc
+++ b/cc/io_surface_layer.cc
@@ -8,7 +8,7 @@
namespace cc {
-scoped_refptr<IOSurfaceLayer> IOSurfaceLayer::create()
+scoped_refptr<IOSurfaceLayer> IOSurfaceLayer::Create()
{
return make_scoped_refptr(new IOSurfaceLayer());
}
@@ -27,22 +27,22 @@ void IOSurfaceLayer::setIOSurfaceProperties(uint32_t ioSurfaceId, const gfx::Siz
{
m_ioSurfaceId = ioSurfaceId;
m_ioSurfaceSize = size;
- setNeedsCommit();
+ SetNeedsCommit();
}
-scoped_ptr<LayerImpl> IOSurfaceLayer::createLayerImpl(LayerTreeImpl* treeImpl)
+scoped_ptr<LayerImpl> IOSurfaceLayer::CreateLayerImpl(LayerTreeImpl* treeImpl)
{
- return IOSurfaceLayerImpl::create(treeImpl, m_layerId).PassAs<LayerImpl>();
+ return IOSurfaceLayerImpl::Create(treeImpl, layer_id_).PassAs<LayerImpl>();
}
-bool IOSurfaceLayer::drawsContent() const
+bool IOSurfaceLayer::DrawsContent() const
{
- return m_ioSurfaceId && Layer::drawsContent();
+ return m_ioSurfaceId && Layer::DrawsContent();
}
-void IOSurfaceLayer::pushPropertiesTo(LayerImpl* layer)
+void IOSurfaceLayer::PushPropertiesTo(LayerImpl* layer)
{
- Layer::pushPropertiesTo(layer);
+ Layer::PushPropertiesTo(layer);
IOSurfaceLayerImpl* ioSurfaceLayer = static_cast<IOSurfaceLayerImpl*>(layer);
ioSurfaceLayer->setIOSurfaceProperties(m_ioSurfaceId, m_ioSurfaceSize);
« no previous file with comments | « cc/io_surface_layer.h ('k') | cc/io_surface_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698