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

Unified Diff: cc/heads_up_display_unittest.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/heads_up_display_layer_impl.cc ('k') | cc/image_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/heads_up_display_unittest.cc
diff --git a/cc/heads_up_display_unittest.cc b/cc/heads_up_display_unittest.cc
index 1bbdbf25533e4e8b9483f86f3317c9e74fdfd98b..6d31ea80350c488985b1c8d34c3aab6141f79c7d 100644
--- a/cc/heads_up_display_unittest.cc
+++ b/cc/heads_up_display_unittest.cc
@@ -21,8 +21,8 @@ protected:
class DrawsContentLayer : public Layer {
public:
- static scoped_refptr<DrawsContentLayer> create() { return make_scoped_refptr(new DrawsContentLayer()); }
- virtual bool drawsContent() const OVERRIDE { return true; }
+ static scoped_refptr<DrawsContentLayer> Create() { return make_scoped_refptr(new DrawsContentLayer()); }
+ virtual bool DrawsContent() const OVERRIDE { return true; }
private:
DrawsContentLayer() : Layer() { }
@@ -34,16 +34,16 @@ private:
class HudWithRootLayerChange : public HeadsUpDisplayTest {
public:
HudWithRootLayerChange()
- : m_rootLayer1(DrawsContentLayer::create())
- , m_rootLayer2(DrawsContentLayer::create())
+ : m_rootLayer1(DrawsContentLayer::Create())
+ , m_rootLayer2(DrawsContentLayer::Create())
, m_numCommits(0)
{
}
virtual void beginTest() OVERRIDE
{
- m_rootLayer1->setBounds(gfx::Size(30, 30));
- m_rootLayer2->setBounds(gfx::Size(30, 30));
+ m_rootLayer1->SetBounds(gfx::Size(30, 30));
+ m_rootLayer2->SetBounds(gfx::Size(30, 30));
postSetNeedsCommitToMainThread();
}
« no previous file with comments | « cc/heads_up_display_layer_impl.cc ('k') | cc/image_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698