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

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: Fix for bad DEPS 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
« no previous file with comments | « remoting/host/event_executor_mac.cc ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/event_executor_win.cc
diff --git a/remoting/host/event_executor_win.cc b/remoting/host/event_executor_win.cc
index bf6feadf45a139fc2a965c30fa11662199b42cf4..ebedf2566376c8c9ff47380ec9ff61015c61ec29 100644
--- a/remoting/host/event_executor_win.cc
+++ b/remoting/host/event_executor_win.cc
@@ -109,7 +109,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());
« no previous file with comments | « remoting/host/event_executor_mac.cc ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698