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

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

Issue 2227563003: Refactoring button field and its type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix new instances Created 4 years, 4 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/page/DragController.cpp
diff --git a/third_party/WebKit/Source/core/page/DragController.cpp b/third_party/WebKit/Source/core/page/DragController.cpp
index 67483d59c001b7d06c18e66450c4aa8a092fe07c..c0a684f1d686859f59777949014ff1a06ba3a310 100644
--- a/third_party/WebKit/Source/core/page/DragController.cpp
+++ b/third_party/WebKit/Source/core/page/DragController.cpp
@@ -119,7 +119,7 @@ static bool dragTypeIsValid(DragSourceAction action)
static PlatformMouseEvent createMouseEvent(DragData* dragData)
{
return PlatformMouseEvent(dragData->clientPosition(), dragData->globalPosition(),
- LeftButton, PlatformEvent::MouseMoved, 0,
+ WebPointerProperties::Button::Left, PlatformEvent::MouseMoved, 0,
static_cast<PlatformEvent::Modifiers>(dragData->modifiers()),
PlatformMouseEvent::RealOrIndistinguishable, monotonicallyIncreasingTime());
}
« no previous file with comments | « third_party/WebKit/Source/core/page/AutoscrollController.cpp ('k') | third_party/WebKit/Source/platform/PlatformMouseEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698