Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / ui / views / corewm / desktop_capture_controller_unittest.cc
index a7628a6..3baf0f4 100644 (file)
@@ -167,12 +167,11 @@ TEST_F(DesktopCaptureControllerTest, CaptureWindowInputEventTest) {
   EXPECT_FALSE(widget2->GetNativeView()->HasCapture());
   EXPECT_EQ(capture_client->GetCaptureWindow(), widget1->GetNativeView());
 
-  ui::GestureEvent g1(
-      80,
-      80,
-      0,
-      base::TimeDelta(),
-      ui::GestureEventDetails(ui::ET_GESTURE_LONG_PRESS, 0.0f, 0.0f));
+  ui::GestureEvent g1(80,
+                      80,
+                      0,
+                      base::TimeDelta(),
+                      ui::GestureEventDetails(ui::ET_GESTURE_LONG_PRESS));
   details = root1->OnEventFromSource(&g1);
   EXPECT_FALSE(details.dispatcher_destroyed);
   EXPECT_FALSE(details.target_destroyed);