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..cb78a00cd6548085cbd945fdd5228f1ba9f61366 100644 |
--- a/content/shell/test_runner/test_plugin.cc |
+++ b/content/shell/test_runner/test_plugin.cc |
@@ -88,7 +88,8 @@ 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( |
+ "* %f, %f\n", mouse.positionInWidget().x, mouse.positionInWidget().y)); |
} else if (blink::WebInputEvent::isGestureEventType(event.type())) { |
const blink::WebGestureEvent& gesture = |
static_cast<const blink::WebGestureEvent&>(event); |