Index: content/browser/renderer_host/input/touch_emulator.cc |
diff --git a/content/browser/renderer_host/input/touch_emulator.cc b/content/browser/renderer_host/input/touch_emulator.cc |
index 90a6bf70e88a2a95d30631315beb3467af8fd824..460716d7b06d3e14b330e636c6dc37abfa6b6e1d 100644 |
--- a/content/browser/renderer_host/input/touch_emulator.cc |
+++ b/content/browser/renderer_host/input/touch_emulator.cc |
@@ -130,7 +130,7 @@ gfx::SizeF TouchEmulator::InitCursorFromResource( |
#endif |
cursor->InitFromCursorInfo(cursor_info); |
- return gfx::ScaleSize(cursor_image.Size(), 1.f / scale); |
+ return gfx::ScaleSize(gfx::SizeF(cursor_image.Size()), 1.f / scale); |
} |
bool TouchEmulator::HandleMouseEvent(const WebMouseEvent& mouse_event) { |