Chromium Code Reviews| Index: third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp |
| diff --git a/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp b/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp |
| index b0ed7c91b0fef22873c6f7c6acbcb79b648fb72c..5fb8e2465b0f04fa918711486b27b94d36218071 100644 |
| --- a/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp |
| +++ b/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp |
| @@ -101,7 +101,7 @@ PointerEvent* PointerEventFactoryTest::createAndCheckTouchEvent( |
| PlatformTouchPoint::TouchState state) |
| { |
| PointerEvent* pointerEvent = m_pointerEventFactory.create( |
| - EventTypeNames::pointerdown, PointerEventFactoryTest::PlatformTouchPointBuilder(pointerType, rawId, state), PlatformEvent::NoModifiers, 0, 0, 0, 0); |
| + EventTypeNames::pointerdown, PointerEventFactoryTest::PlatformTouchPointBuilder(pointerType, rawId, state), PlatformEvent::NoModifiers, FloatSize(0, 0), FloatPoint(0, 0)); |
|
dtapuska
2016/04/25 20:15:00
Just FloatSize(), FloatPoint() is good enough
Navid Zolghadr
2016/04/26 21:57:50
Sure.
|
| EXPECT_EQ(uniqueId, pointerEvent->pointerId()); |
| EXPECT_EQ(isPrimary, pointerEvent->isPrimary()); |
| return pointerEvent; |