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

Unified Diff: cc/test/fake_content_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/test/fake_content_layer.h ('k') | cc/test/fake_content_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_content_layer.cc
diff --git a/cc/test/fake_content_layer.cc b/cc/test/fake_content_layer.cc
index ca1d85943adad82def246b13275183a5a360f499..f5c64c14409a7347d01e750a20d28b1f8d9e38de 100644
--- a/cc/test/fake_content_layer.cc
+++ b/cc/test/fake_content_layer.cc
@@ -12,23 +12,23 @@ namespace cc {
FakeContentLayer::FakeContentLayer(ContentLayerClient* client)
: ContentLayer(client),
update_count_(0) {
- setAnchorPoint(gfx::PointF(0, 0));
- setBounds(gfx::Size(1, 1));
- setIsDrawable(true);
+ SetAnchorPoint(gfx::PointF(0, 0));
+ SetBounds(gfx::Size(1, 1));
+ SetIsDrawable(true);
}
FakeContentLayer::~FakeContentLayer() {}
-scoped_ptr<LayerImpl> FakeContentLayer::createLayerImpl(
+scoped_ptr<LayerImpl> FakeContentLayer::CreateLayerImpl(
LayerTreeImpl* tree_impl) {
- return FakeContentLayerImpl::Create(tree_impl, m_layerId).PassAs<LayerImpl>();
+ return FakeContentLayerImpl::Create(tree_impl, layer_id_).PassAs<LayerImpl>();
}
-void FakeContentLayer::update(
- ResourceUpdateQueue& queue,
+void FakeContentLayer::Update(
+ ResourceUpdateQueue* queue,
const OcclusionTracker* occlusion,
RenderingStats* stats) {
- ContentLayer::update(queue, occlusion, stats);
+ ContentLayer::Update(queue, occlusion, stats);
update_count_++;
}
« no previous file with comments | « cc/test/fake_content_layer.h ('k') | cc/test/fake_content_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698