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

Unified Diff: remoting/host/event_executor_win.cc

Issue 7992011: Move us fully from gfx:: over to skia types for consistency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleaned up copyrights Created 9 years, 3 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
Index: remoting/host/event_executor_win.cc
diff --git a/remoting/host/event_executor_win.cc b/remoting/host/event_executor_win.cc
index c4283e4125e3277ca89769dabf92bcf1ce30e472..197d202f80e3cc09c2da9646f97311674a22330d 100644
--- a/remoting/host/event_executor_win.cc
+++ b/remoting/host/event_executor_win.cc
@@ -110,7 +110,7 @@ void EventExecutorWin::HandleMouse(const MouseEvent& event) {
INPUT input;
input.type = INPUT_MOUSE;
input.mi.time = 0;
- gfx::Size screen_size = capturer_->size_most_recent();
+ SkISize screen_size = capturer_->size_most_recent();
if ((screen_size.width() > 0) && (screen_size.height() > 0)) {
input.mi.dx = static_cast<int>((x * 65535) / screen_size.width());
input.mi.dy = static_cast<int>((y * 65535) / screen_size.height());

Powered by Google App Engine
This is Rietveld 408576698