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

Unified Diff: ash/drag_drop/drag_drop_tracker.cc

Issue 101573006: Changes MouseEvent constructor to take changed_button_flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix windows side Created 7 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: ash/drag_drop/drag_drop_tracker.cc
diff --git a/ash/drag_drop/drag_drop_tracker.cc b/ash/drag_drop/drag_drop_tracker.cc
index 03ecf79b29feed85f0e11aa8f550b6e699de3da0..32fb4172316289563d8006cc00fa869c694ccc01 100644
--- a/ash/drag_drop/drag_drop_tracker.cc
+++ b/ash/drag_drop/drag_drop_tracker.cc
@@ -74,7 +74,9 @@ ui::LocatedEvent* DragDropTracker::ConvertEvent(
return new ui::MouseEvent(event.type(),
target_location,
target_root_location,
- event.flags());
+ event.flags(),
+ static_cast<const ui::MouseEvent&>(event).
+ changed_button_flags());
}
} // namespace internal

Powered by Google App Engine
This is Rietveld 408576698