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

Unified Diff: Source/core/page/EventHandler.cpp

Issue 1123223003: Remove unused variable from EventHandler::applyTouchAdjustment (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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: Source/core/page/EventHandler.cpp
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp
index 02558b348578eb2eb1fd8ac68797646b5bf08b12..46ddab736b4763407d0d43e41b4516e3dbdc04e2 100644
--- a/Source/core/page/EventHandler.cpp
+++ b/Source/core/page/EventHandler.cpp
@@ -2971,8 +2971,6 @@ void EventHandler::applyTouchAdjustment(PlatformGestureEvent* gestureEvent, HitT
Node* adjustedNode = nullptr;
IntPoint adjustedPoint = gestureEvent->position();
- IntSize radius = gestureEvent->area();
- radius.scale(1.f / 2);
bool adjusted = false;
switch (gestureEvent->type()) {
case PlatformEvent::GestureTap:
« 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