Index: content/shell/test_runner/test_plugin.cc |
diff --git a/content/shell/test_runner/test_plugin.cc b/content/shell/test_runner/test_plugin.cc |
index 601f65f607e4ef32c6b296ef5f0a1fd5a9584249..3ef197bfca2181ce1193d37afbf51cfd9395cf8b 100644 |
--- a/content/shell/test_runner/test_plugin.cc |
+++ b/content/shell/test_runner/test_plugin.cc |
@@ -88,7 +88,9 @@ void PrintEventDetails(WebTestDelegate* delegate, |
event.type() == blink::WebInputEvent::MouseWheel) { |
const blink::WebMouseEvent& mouse = |
static_cast<const blink::WebMouseEvent&>(event); |
- delegate->PrintMessage(base::StringPrintf("* %d, %d\n", mouse.x, mouse.y)); |
+ delegate->PrintMessage(base::StringPrintf("* %.2f, %.2f\n", |
+ mouse.positionInWidget().x, |
+ mouse.positionInWidget().y)); |
} else if (blink::WebInputEvent::isGestureEventType(event.type())) { |
const blink::WebGestureEvent& gesture = |
static_cast<const blink::WebGestureEvent&>(event); |