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

Unified Diff: ui/aura/event.cc

Issue 10272025: aura: Fix copying a touch-event in X11. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/aura/event.cc
diff --git a/ui/aura/event.cc b/ui/aura/event.cc
index 8192e55a2b5d6a6702b1be7323f59e9d16582af8..8a3bab0f7842004b6908a5f81e18ead4fa3dfa8f 100644
--- a/ui/aura/event.cc
+++ b/ui/aura/event.cc
@@ -313,9 +313,6 @@ TouchEvent* TouchEvent::Copy() const {
#if defined(OS_WIN)
if (native_event().message)
return new TouchEvent(::CopyNativeEvent(native_event()));
-#else
- if (native_event())
- return new TouchEvent(::CopyNativeEvent(native_event()));
#endif
return new TouchEvent(*this, NULL, NULL);
}
« 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