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

Unified Diff: content/browser/android/content_view_core_impl.cc

Issue 2227563003: Refactoring button field and its type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mac/win errors 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: content/browser/android/content_view_core_impl.cc
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
index bee676ccad0a560288c9ea6fa10aa8d949b1b53b..4a1499dbc94f704a3901eb19b6ec6ac12415d3aa 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -1012,7 +1012,7 @@ jboolean ContentViewCoreImpl::SendMouseMoveEvent(
blink::WebMouseEvent event = WebMouseEventBuilder::Build(
WebInputEvent::MouseMove,
- blink::WebMouseEvent::ButtonNone,
+ blink::WebMouseEvent::Button::NoButton,
time_ms / 1000.0, x / dpi_scale(), y / dpi_scale(), 0, 1,
ui::ToWebPointerType(static_cast<ui::MotionEvent::ToolType>(tool_type)));

Powered by Google App Engine
This is Rietveld 408576698