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

Unified Diff: cc/scrollbar_animation_controller_linear_fade_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/scrollbar_animation_controller_linear_fade.cc ('k') | cc/scrollbar_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scrollbar_animation_controller_linear_fade_unittest.cc
diff --git a/cc/scrollbar_animation_controller_linear_fade_unittest.cc b/cc/scrollbar_animation_controller_linear_fade_unittest.cc
index 46061dafb8e9adbfd47c49c3f68dffb5234a7199..10977a7d84d2a046d47089ffff89c4b778c963df 100644
--- a/cc/scrollbar_animation_controller_linear_fade_unittest.cc
+++ b/cc/scrollbar_animation_controller_linear_fade_unittest.cc
@@ -24,13 +24,13 @@ public:
protected:
virtual void SetUp()
{
- m_scrollLayer = LayerImpl::create(m_hostImpl.activeTree(), 1);
+ m_scrollLayer = LayerImpl::Create(m_hostImpl.activeTree(), 1);
scoped_ptr<ScrollbarGeometryFixedThumb> geometry(ScrollbarGeometryFixedThumb::create(FakeWebScrollbarThemeGeometry::create(false)));
m_scrollbarLayer = ScrollbarLayerImpl::Create(m_hostImpl.activeTree(), 2, geometry.Pass());
- m_scrollLayer->setMaxScrollOffset(gfx::Vector2d(50, 50));
- m_scrollLayer->setBounds(gfx::Size(50, 50));
- m_scrollLayer->setHorizontalScrollbarLayer(m_scrollbarLayer.get());
+ m_scrollLayer->SetMaxScrollOffset(gfx::Vector2d(50, 50));
+ m_scrollLayer->SetBounds(gfx::Size(50, 50));
+ m_scrollLayer->SetHorizontalScrollbarLayer(m_scrollbarLayer.get());
m_scrollbarController = ScrollbarAnimationControllerLinearFade::create(m_scrollLayer.get(), 2, 3);
}
« no previous file with comments | « cc/scrollbar_animation_controller_linear_fade.cc ('k') | cc/scrollbar_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698