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

Unified Diff: cc/layer_tree_host_unittest_scroll.cc

Issue 11293121: Add latency measurement system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: create cc::LatencyInfo Created 7 years, 12 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/output_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_unittest_scroll.cc
diff --git a/cc/layer_tree_host_unittest_scroll.cc b/cc/layer_tree_host_unittest_scroll.cc
index 15ab63b17e7a391ed5c300e52b326e7fa42690c3..3f524d7167cc1ab30ebdff8bf1d9dcd38dbe9d54 100644
--- a/cc/layer_tree_host_unittest_scroll.cc
+++ b/cc/layer_tree_host_unittest_scroll.cc
@@ -378,7 +378,7 @@ class LayerTreeHostScrollTestCaseWithChild :
gfx::Vector2dF(0.5f, 0.5f)),
InputHandlerClient::Gesture);
EXPECT_EQ(InputHandlerClient::ScrollStarted, status);
- impl->scrollBy(gfx::Point(), scroll_amount_);
+ impl->scrollBy(0, gfx::Point(), scroll_amount_);
impl->scrollEnd();
// Check the scroll is applied as a delta.
@@ -398,7 +398,7 @@ class LayerTreeHostScrollTestCaseWithChild :
gfx::Vector2dF(0.5f, 0.5f)),
InputHandlerClient::Wheel);
EXPECT_EQ(InputHandlerClient::ScrollStarted, status);
- impl->scrollBy(gfx::Point(), scroll_amount_);
+ impl->scrollBy(0, gfx::Point(), scroll_amount_);
impl->scrollEnd();
// Check the scroll is applied as a delta.
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698