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

Unified Diff: cc/layer_tree_host_unittest_delegated.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/layer_tree_host_unittest_context.cc ('k') | cc/layer_tree_host_unittest_occlusion.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_unittest_delegated.cc
diff --git a/cc/layer_tree_host_unittest_delegated.cc b/cc/layer_tree_host_unittest_delegated.cc
index c44d7eda07634855e16fa713280f6f57501eb1eb..3fb48a06b25122701ccb93e0066d8546aae02414 100644
--- a/cc/layer_tree_host_unittest_delegated.cc
+++ b/cc/layer_tree_host_unittest_delegated.cc
@@ -69,16 +69,16 @@ class LayerTreeHostDelegatedTestCaseSingleDelegatedLayer
: public LayerTreeHostDelegatedTest {
public:
virtual void setupTree() OVERRIDE {
- root_ = Layer::create();
- root_->setAnchorPoint(gfx::PointF());
- root_->setBounds(gfx::Size(10, 10));
+ root_ = Layer::Create();
+ root_->SetAnchorPoint(gfx::PointF());
+ root_->SetBounds(gfx::Size(10, 10));
delegated_ = FakeDelegatedRendererLayer::Create();
- delegated_->setAnchorPoint(gfx::PointF());
- delegated_->setBounds(gfx::Size(10, 10));
- delegated_->setIsDrawable(true);
+ delegated_->SetAnchorPoint(gfx::PointF());
+ delegated_->SetBounds(gfx::Size(10, 10));
+ delegated_->SetIsDrawable(true);
- root_->addChild(delegated_);
+ root_->AddChild(delegated_);
m_layerTreeHost->setRootLayer(root_);
LayerTreeHostDelegatedTest::setupTree();
}
@@ -187,7 +187,7 @@ class LayerTreeHostDelegatedTestLayerUsesFrameDamage
break;
case 4:
// Should damage the full viewport.
- delegated_->setBounds(gfx::Size(2, 2));
+ delegated_->SetBounds(gfx::Size(2, 2));
break;
case 5:
// Should create zero damage.
@@ -195,7 +195,7 @@ class LayerTreeHostDelegatedTestLayerUsesFrameDamage
break;
case 6:
// Should damage the full layer.
- delegated_->setBounds(gfx::Size(6, 6));
+ delegated_->SetBounds(gfx::Size(6, 6));
delegated_->SetFrameData(CreateFrameData(gfx::Rect(0, 0, 5, 5),
gfx::Rect(1, 1, 2, 2)));
break;
« no previous file with comments | « cc/layer_tree_host_unittest_context.cc ('k') | cc/layer_tree_host_unittest_occlusion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698