Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(597)

Unified Diff: third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp

Issue 1774913004: Firing got/lost pointer capture events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a94e34dcc7bf8cd4a6952928037d40ecc7eb97cb..5ee6cc08184fa3364868ae13afee18afea940d41 100644
--- a/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp
+++ b/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp
@@ -90,8 +90,8 @@ void PointerEventFactoryTest::cloneAndCheckPointerEvent(
const AtomicString& type)
{
RefPtrWillBeRawPtr<PointerEvent> pointerEvent = prpPointerEvent;
- RefPtrWillBeRawPtr<PointerEvent> clonePointerEvent =
- m_pointerEventFactory.create(pointerEvent, type, nullptr);
+ RefPtrWillBeRawPtr<PointerEvent> clonePointerEvent = m_pointerEventFactory.
+ createPointerTransition(pointerEvent, type, nullptr);
EXPECT_EQ(clonePointerEvent->pointerType(), pointerEvent->pointerType());
EXPECT_EQ(clonePointerEvent->pointerId(), pointerEvent->pointerId());
EXPECT_EQ(clonePointerEvent->isPrimary(), pointerEvent->isPrimary());

Powered by Google App Engine
This is Rietveld 408576698