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

Unified Diff: cc/video_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/video_layer.h ('k') | cc/video_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/video_layer.cc
diff --git a/cc/video_layer.cc b/cc/video_layer.cc
index 886a3130b14b447cc979bbb08094c96796db73de..d33d624ea357295aeb59e14d9015b694555db66f 100644
--- a/cc/video_layer.cc
+++ b/cc/video_layer.cc
@@ -8,7 +8,7 @@
namespace cc {
-scoped_refptr<VideoLayer> VideoLayer::create(VideoFrameProvider* provider)
+scoped_refptr<VideoLayer> VideoLayer::Create(VideoFrameProvider* provider)
{
return make_scoped_refptr(new VideoLayer(provider));
}
@@ -23,9 +23,9 @@ VideoLayer::~VideoLayer()
{
}
-scoped_ptr<LayerImpl> VideoLayer::createLayerImpl(LayerTreeImpl* treeImpl)
+scoped_ptr<LayerImpl> VideoLayer::CreateLayerImpl(LayerTreeImpl* treeImpl)
{
- return VideoLayerImpl::create(treeImpl, m_layerId, m_provider).PassAs<LayerImpl>();
+ return VideoLayerImpl::Create(treeImpl, id(), m_provider).PassAs<LayerImpl>();
}
} // namespace cc
« no previous file with comments | « cc/video_layer.h ('k') | cc/video_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698