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

Unified Diff: ui/views/win/hwnd_message_handler.cc

Issue 2183973002: Fix for an annoying ASSERT in blink when we tap on an editable portiion of the page Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/win/hwnd_message_handler.cc
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
index 0dc5a1abfcbb82dbb36292bff01751d7cffcb054..ddfdcd2d7407ec5e8facd593cd3ef84044debd47 100644
--- a/ui/views/win/hwnd_message_handler.cc
+++ b/ui/views/win/hwnd_message_handler.cc
@@ -2630,7 +2630,8 @@ void HWNDMessageHandler::GenerateTouchEvent(ui::EventType event_type,
unsigned int id,
base::TimeTicks time_stamp,
TouchEvents* touch_events) {
- ui::TouchEvent event(event_type, point, id, time_stamp);
+ ui::TouchEvent
+ event(event_type, point, 0, id, time_stamp, 0.0f, 0.0f, 0.0f, 0);
event.set_flags(ui::GetModifiersFromKeyState());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698