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

Unified Diff: content/renderer/gpu/input_handler_proxy_unittest.cc

Issue 15058004: cc: Rename VSync to BeginFrame (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 years, 7 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 | « content/renderer/gpu/input_handler_proxy.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/input_handler_proxy_unittest.cc
diff --git a/content/renderer/gpu/input_handler_proxy_unittest.cc b/content/renderer/gpu/input_handler_proxy_unittest.cc
index 50d5f14ec25dc3b10c22f435170833c8cb71d2bb..c4414aa59cf688b0ed8c6d60ba77008104b002ee 100644
--- a/content/renderer/gpu/input_handler_proxy_unittest.cc
+++ b/content/renderer/gpu/input_handler_proxy_unittest.cc
@@ -49,7 +49,8 @@ class MockInputHandler : public cc::InputHandler {
MOCK_METHOD0(ScrollEnd, void());
MOCK_METHOD0(FlingScrollBegin, cc::InputHandler::ScrollStatus());
- MOCK_METHOD1(DidReceiveLastInputEventForVSync, void(base::TimeTicks time));
+ MOCK_METHOD1(DidReceiveLastInputEventForBeginFrame,
+ void(base::TimeTicks time));
virtual void BindToClient(cc::InputHandlerClient* client) OVERRIDE {}
@@ -991,7 +992,7 @@ TEST_F(InputHandlerProxyTest, LastInputEventForVSync) {
base::TimeTicks() +
base::TimeDelta::FromSeconds(gesture_.timeStampSeconds);
gesture_.modifiers |= WebInputEvent::IsLastInputEventForCurrentVSync;
- EXPECT_CALL(mock_input_handler_, DidReceiveLastInputEventForVSync(time));
+ EXPECT_CALL(mock_input_handler_, DidReceiveLastInputEventForBeginFrame(time));
input_handler_->HandleInputEvent(gesture_);
}
« no previous file with comments | « content/renderer/gpu/input_handler_proxy.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698