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

Unified Diff: remoting/host/remote_input_filter_unittest.cc

Issue 112453002: Remove dependency on skia from remoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « remoting/host/remote_input_filter.cc ('k') | remoting/host/video_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/remote_input_filter_unittest.cc
diff --git a/remoting/host/remote_input_filter_unittest.cc b/remoting/host/remote_input_filter_unittest.cc
index 48b7183b9d27e8b7941b5cba019c89182d26ba0f..e7ba17ba5dc1a40bbbc7683927c13d39278555e0 100644
--- a/remoting/host/remote_input_filter_unittest.cc
+++ b/remoting/host/remote_input_filter_unittest.cc
@@ -67,7 +67,7 @@ TEST(RemoteInputFilterTest, MismatchedLocalActivity) {
for (int i = 0; i < 10; ++i) {
input_filter.InjectMouseEvent(MouseMoveEvent(0, 0));
if (i == 4)
- input_filter.LocalMouseMoved(SkIPoint::Make(1, 1));
+ input_filter.LocalMouseMoved(webrtc::DesktopVector(1, 1));
}
}
@@ -82,7 +82,7 @@ TEST(RemoteInputFilterTest, LocalEchoesOfRemoteActivity) {
for (int i = 0; i < 10; ++i) {
input_filter.InjectMouseEvent(MouseMoveEvent(0, 0));
- input_filter.LocalMouseMoved(SkIPoint::Make(0, 0));
+ input_filter.LocalMouseMoved(webrtc::DesktopVector(0, 0));
}
}
@@ -97,9 +97,9 @@ TEST(RemoteInputFilterTest, LocalEchosAndLocalActivity) {
for (int i = 0; i < 10; ++i) {
input_filter.InjectMouseEvent(MouseMoveEvent(0, 0));
- input_filter.LocalMouseMoved(SkIPoint::Make(0, 0));
+ input_filter.LocalMouseMoved(webrtc::DesktopVector(0, 0));
if (i == 4)
- input_filter.LocalMouseMoved(SkIPoint::Make(1, 1));
+ input_filter.LocalMouseMoved(webrtc::DesktopVector(1, 1));
}
}
@@ -120,9 +120,9 @@ TEST(RemoteInputFilterTest, LocalActivityReleasesAll) {
for (int i = 0; i < 10; ++i) {
input_filter.InjectMouseEvent(MouseMoveEvent(0, 0));
- input_filter.LocalMouseMoved(SkIPoint::Make(0, 0));
+ input_filter.LocalMouseMoved(webrtc::DesktopVector(0, 0));
if (i == 4)
- input_filter.LocalMouseMoved(SkIPoint::Make(1, 1));
+ input_filter.LocalMouseMoved(webrtc::DesktopVector(1, 1));
}
}
« no previous file with comments | « remoting/host/remote_input_filter.cc ('k') | remoting/host/video_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698