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

Unified Diff: cc/layer_tree_host_unittest.cc

Issue 11293121: Add latency measurement system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor input event changes Created 8 years 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
Index: cc/layer_tree_host_unittest.cc
diff --git a/cc/layer_tree_host_unittest.cc b/cc/layer_tree_host_unittest.cc
index 7add7caf714d43f12eb9a779f7ad4971d7ad5b73..b74639d2dcbb7618edbfb7296e70c02ef34526f7 100644
--- a/cc/layer_tree_host_unittest.cc
+++ b/cc/layer_tree_host_unittest.cc
@@ -2272,7 +2272,7 @@ public:
case 0:
// Gesture scroll on impl thread.
EXPECT_EQ(impl->scrollBegin(gfx::Point(5, 5), InputHandlerClient::Gesture), InputHandlerClient::ScrollStarted);
- impl->scrollBy(gfx::Point(), m_scrollAmount);
+ impl->scrollBy(0, gfx::Point(), m_scrollAmount);
impl->scrollEnd();
EXPECT_VECTOR_EQ(m_initialScroll, childLayer->scrollOffset());
@@ -2281,7 +2281,7 @@ public:
case 1:
// Wheel scroll on impl thread.
EXPECT_EQ(impl->scrollBegin(gfx::Point(5, 5), InputHandlerClient::Wheel), InputHandlerClient::ScrollStarted);
- impl->scrollBy(gfx::Point(), m_scrollAmount);
+ impl->scrollBy(0, gfx::Point(), m_scrollAmount);
impl->scrollEnd();
EXPECT_VECTOR_EQ(m_secondScroll, childLayer->scrollOffset());
@@ -2407,7 +2407,7 @@ public:
case 0:
// Gesture scroll on impl thread.
EXPECT_EQ(impl->scrollBegin(gfx::Point(5, 5), InputHandlerClient::Gesture), InputHandlerClient::ScrollStarted);
- impl->scrollBy(gfx::Point(), m_scrollAmount);
+ impl->scrollBy(0, gfx::Point(), m_scrollAmount);
impl->scrollEnd();
EXPECT_VECTOR_EQ(m_initialScroll, rootScrollLayer->scrollOffset());
@@ -2416,7 +2416,7 @@ public:
case 1:
// Wheel scroll on impl thread.
EXPECT_EQ(impl->scrollBegin(gfx::Point(5, 5), InputHandlerClient::Wheel), InputHandlerClient::ScrollStarted);
- impl->scrollBy(gfx::Point(), m_scrollAmount);
+ impl->scrollBy(0, gfx::Point(), m_scrollAmount);
impl->scrollEnd();
EXPECT_VECTOR_EQ(m_secondScroll, rootScrollLayer->scrollOffset());
« cc/gl_renderer.h ('K') | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698