summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictoria Lease <violets@google.com>2011-12-12 17:11:11 -0800
committerVictoria Lease <violets@google.com>2011-12-12 17:11:11 -0800
commit8ddcdf5a4de5c2062a10bc7125c6c9b2272cfdeb (patch)
tree370eb8c90fc491bf819479c354c31d5b0eea5fd4
parent6d459e9c12f67cdcae791b319995cd8ea27f4442 (diff)
downloadexternal_webkit-8ddcdf5a4de5c2062a10bc7125c6c9b2272cfdeb.zip
external_webkit-8ddcdf5a4de5c2062a10bc7125c6c9b2272cfdeb.tar.gz
external_webkit-8ddcdf5a4de5c2062a10bc7125c6c9b2272cfdeb.tar.bz2
Removed computeCursorRings.
As a result of the fix for 5688027, computeCursorRings is no longer used. Change-Id: I4e7f06067608e283d327a8abc09b42de7a9b83d2
-rw-r--r--Source/WebKit/android/nav/CacheBuilder.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/WebKit/android/nav/CacheBuilder.cpp b/Source/WebKit/android/nav/CacheBuilder.cpp
index e963923..e64717b 100644
--- a/Source/WebKit/android/nav/CacheBuilder.cpp
+++ b/Source/WebKit/android/nav/CacheBuilder.cpp
@@ -1121,7 +1121,6 @@ void CacheBuilder::BuildFrame(Frame* root, Frame* frame,
bool more = walk.mMore;
walk.reset();
// GetGlobalBounds(node, &bounds, false);
- bool computeCursorRings = false;
bool hasClip = false;
bool hasMouseOver = false;
bool isUnclipped = false;
@@ -1228,7 +1227,6 @@ void CacheBuilder::BuildFrame(Frame* root, Frame* frame,
continue;
if (bounds.height() < MINIMUM_FOCUSABLE_HEIGHT)
continue;
- computeCursorRings = true;
isUnclipped = true; // FIXME: to hide or partially occlude synthesized links, each
// focus ring will also need the offset and length of characters
// used to produce it
@@ -1325,7 +1323,6 @@ void CacheBuilder::BuildFrame(Frame* root, Frame* frame,
takesFocus = hasTrigger;
}
}
- computeCursorRings = true;
keepNode:
cachedNode.init(node);
cachedNode.setBounds(bounds);