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

Unified Diff: cc/layer_tree_host_perftest.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_impl_unittest.cc ('k') | cc/layer_tree_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_perftest.cc
diff --git a/cc/layer_tree_host_perftest.cc b/cc/layer_tree_host_perftest.cc
index 7682593bed6c0d60eb484eaa548d334ae01226df..8e9da6c662ea834375fdad2c866b3492adb6e413 100644
--- a/cc/layer_tree_host_perftest.cc
+++ b/cc/layer_tree_host_perftest.cc
@@ -111,17 +111,17 @@ class ScrollingLayerTreePerfTest : public LayerTreeHostPerfTestJsonReader {
virtual void buildTree() OVERRIDE {
LayerTreeHostPerfTestJsonReader::buildTree();
- m_scrollable = m_layerTreeHost->rootLayer()->children()[1];
- ASSERT_TRUE(m_scrollable);
+ scrollable_ = m_layerTreeHost->rootLayer()->children()[1];
+ ASSERT_TRUE(scrollable_);
}
virtual void layout() OVERRIDE {
static const gfx::Vector2d delta = gfx::Vector2d(0, 10);
- m_scrollable->setScrollOffset(m_scrollable->scrollOffset() + delta);
+ scrollable_->SetScrollOffset(scrollable_->scroll_offset() + delta);
}
private:
- scoped_refptr<Layer> m_scrollable;
+ scoped_refptr<Layer> scrollable_;
};
TEST_F(ScrollingLayerTreePerfTest, LongScrollablePage) {
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698