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

Unified Diff: sky/engine/web/WebInputEventConversion.cpp

Issue 709603006: Remove a bunch of OS(MACOSX) code (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Even more Created 6 years, 1 month 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: sky/engine/web/WebInputEventConversion.cpp
diff --git a/sky/engine/web/WebInputEventConversion.cpp b/sky/engine/web/WebInputEventConversion.cpp
index 92dffa8017c4ce8fbf1d34ef3cf2a900f64baa59..996c375ca3895f5e1cf8b76c75fa666a06be98aa 100644
--- a/sky/engine/web/WebInputEventConversion.cpp
+++ b/sky/engine/web/WebInputEventConversion.cpp
@@ -150,16 +150,6 @@ PlatformWheelEventBuilder::PlatformWheelEventBuilder(Widget* widget, const WebMo
m_modifiers |= PlatformEvent::MetaKey;
m_hasPreciseScrollingDeltas = e.hasPreciseScrollingDeltas;
-#if OS(MACOSX)
- m_phase = static_cast<PlatformWheelEventPhase>(e.phase);
- m_momentumPhase = static_cast<PlatformWheelEventPhase>(e.momentumPhase);
- m_timestamp = e.timeStampSeconds;
- m_scrollCount = 0;
- m_unacceleratedScrollingDeltaX = e.deltaX;
- m_unacceleratedScrollingDeltaY = e.deltaY;
- m_canRubberbandLeft = e.canRubberbandLeft;
- m_canRubberbandRight = e.canRubberbandRight;
-#endif
}
// PlatformGestureEventBuilder --------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698