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

Unified Diff: third_party/WebKit/Source/core/page/DragController.cpp

Issue 2542693002: Use WTF::TimeTicks to represent timestamp in Platform/Core event types (Closed)
Patch Set: Don't fix bug in this patch Created 4 years 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/page/DragController.cpp
diff --git a/third_party/WebKit/Source/core/page/DragController.cpp b/third_party/WebKit/Source/core/page/DragController.cpp
index f3985d05d27c33aaf004c880911d0c058974908b..6cd34547f75989482642e6916c45aaf8db1f3694 100644
--- a/third_party/WebKit/Source/core/page/DragController.cpp
+++ b/third_party/WebKit/Source/core/page/DragController.cpp
@@ -122,8 +122,7 @@ static PlatformMouseEvent createMouseEvent(DragData* dragData) {
dragData->clientPosition(), dragData->globalPosition(),
WebPointerProperties::Button::Left, PlatformEvent::MouseMoved, 0,
static_cast<PlatformEvent::Modifiers>(dragData->modifiers()),
- PlatformMouseEvent::RealOrIndistinguishable,
- monotonicallyIncreasingTime());
+ PlatformMouseEvent::RealOrIndistinguishable, TimeTicks::Now());
}
static DataTransfer* createDraggingDataTransfer(DataTransferAccessPolicy policy,

Powered by Google App Engine
This is Rietveld 408576698