summaryrefslogtreecommitdiffstats
path: root/WebKit/android/plugins/ANPSoundInterface.cpp
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2009-11-30 15:46:06 -0500
committerCary Clark <cary@android.com>2009-11-30 16:04:53 -0500
commita0428a863bd79d20e416d6d981d0120bd1569edf (patch)
treea4b4cb110e660f6a7debfa638248ccc082afb6bc /WebKit/android/plugins/ANPSoundInterface.cpp
parent39e2da62da0cbe8b66815b72ea0a2a3e13bda40b (diff)
downloadexternal_webkit-a0428a863bd79d20e416d6d981d0120bd1569edf.zip
external_webkit-a0428a863bd79d20e416d6d981d0120bd1569edf.tar.gz
external_webkit-a0428a863bd79d20e416d6d981d0120bd1569edf.tar.bz2
navigate preferably between children of the same parent
The nav cache attempts to take advantage of the order that the dom is walked to know when multiple nodes have the same parent. The old implementation doesn't always work, and a simpler non-cached version makes more sense. The algorithm now walks nodes until the parent has more than one child, and assigns that parent as the 'parent group'. On the other end, nodes with no parent group are never allowed to get preferential matching treatment.
Diffstat (limited to 'WebKit/android/plugins/ANPSoundInterface.cpp')
0 files changed, 0 insertions, 0 deletions