summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/nav/FindCanvas.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-09-19 16:16:31 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-19 16:16:31 -0700
commitdfd464c5416bf18e36a34102c51e1c39dd9fa886 (patch)
tree8db6b84a2c18d2b9bd10867f245f2cb894e099f1 /Source/WebKit/android/nav/FindCanvas.cpp
parent41247753e4166d9b2ad11c976b9ff0f9152b4150 (diff)
parenta307a97864647f6373c599f917e762a5fee3a197 (diff)
downloadexternal_webkit-dfd464c5416bf18e36a34102c51e1c39dd9fa886.zip
external_webkit-dfd464c5416bf18e36a34102c51e1c39dd9fa886.tar.gz
external_webkit-dfd464c5416bf18e36a34102c51e1c39dd9fa886.tar.bz2
Merge changes Ifb6cc64e,I4d819cc5
* changes: Simplify logic in ScrollableLayerAndroid::scrollTo() Fixes style and adds some comments to layers code
Diffstat (limited to 'Source/WebKit/android/nav/FindCanvas.cpp')
-rw-r--r--Source/WebKit/android/nav/FindCanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/android/nav/FindCanvas.cpp b/Source/WebKit/android/nav/FindCanvas.cpp
index 38fb71e..ca3cfba 100644
--- a/Source/WebKit/android/nav/FindCanvas.cpp
+++ b/Source/WebKit/android/nav/FindCanvas.cpp
@@ -598,7 +598,7 @@ void FindOnPage::draw(SkCanvas* canvas, LayerAndroid* layer, IntRect* inval) {
unsigned numberOfMatches = m_matches->size();
if (numberOfMatches > 1
&& numberOfMatches < MAX_NUMBER_OF_MATCHES_TO_DRAW) {
- for(unsigned i = 0; i < numberOfMatches; i++) {
+ for (unsigned i = 0; i < numberOfMatches; i++) {
// The current match has already been drawn
if (i == m_findIndex)
continue;