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

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: rebase 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 ef4d262305f5e02a27fbb81b4342444aef5772b6..6ec0a62999847d7e8b9f0b0b75b752e69f47395c 100644
--- a/third_party/WebKit/Source/core/page/DragController.cpp
+++ b/third_party/WebKit/Source/core/page/DragController.cpp
@@ -123,8 +123,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