diff options
author | John Reck <jreck@google.com> | 2012-04-11 17:51:15 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2012-04-11 17:51:15 -0700 |
commit | 09d5ed3cab4f6c40d9e670ea7c748c9e6c729605 (patch) | |
tree | 4f37b2a80c0aab4c910f3dbd9346934d509b2da4 /Source/WebCore/page | |
parent | 8266295cc837f73c2bcfbcca3f8b330d4991fc0e (diff) | |
download | external_webkit-09d5ed3cab4f6c40d9e670ea7c748c9e6c729605.zip external_webkit-09d5ed3cab4f6c40d9e670ea7c748c9e6c729605.tar.gz external_webkit-09d5ed3cab4f6c40d9e670ea7c748c9e6c729605.tar.bz2 |
Cleanup unused code
Bug: 6317798
Change-Id: I377753d119d74bbd2569be586d980081f78d15e7
Diffstat (limited to 'Source/WebCore/page')
-rw-r--r-- | Source/WebCore/page/EventHandler.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/WebCore/page/EventHandler.cpp b/Source/WebCore/page/EventHandler.cpp index a737754..45450b5 100644 --- a/Source/WebCore/page/EventHandler.cpp +++ b/Source/WebCore/page/EventHandler.cpp @@ -3224,15 +3224,7 @@ bool EventHandler::handleTouchEvent(const PlatformTouchEvent& event) // When sending a touch cancel event, use empty touches and targetTouches lists. bool isTouchCancelEvent = (state == PlatformTouchPoint::TouchCancelled); RefPtr<TouchList>& effectiveTouches(isTouchCancelEvent ? emptyList : touches); -#if PLATFORM(ANDROID) - AtomicString stateName(eventNameForTouchPointState(static_cast<PlatformTouchPoint::State>(state))); - if (event.type() == TouchLongPress) - stateName = eventNames().touchlongpressEvent; - else if (event.type() == TouchDoubleTap) - stateName = eventNames().touchdoubletapEvent; -#else const AtomicString& stateName(eventNameForTouchPointState(static_cast<PlatformTouchPoint::State>(state))); -#endif const EventTargetSet& targetsForState = changedTouches[state].m_targets; for (EventTargetSet::const_iterator it = targetsForState.begin(); it != targetsForState.end(); ++it) { |