summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/nav/FindCanvas.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-09-12 11:07:57 +0100
committerSteve Block <steveblock@google.com>2011-09-19 19:03:27 +0100
commitf92d7cf56380e421b81212d32a557bda707a9555 (patch)
tree4591e9abf07a950f97b6e3ba183332f1e61b4555 /Source/WebKit/android/nav/FindCanvas.cpp
parentc67a79f4e1bc925d774dac03df5b964c841ddc9f (diff)
downloadexternal_webkit-f92d7cf56380e421b81212d32a557bda707a9555.zip
external_webkit-f92d7cf56380e421b81212d32a557bda707a9555.tar.gz
external_webkit-f92d7cf56380e421b81212d32a557bda707a9555.tar.bz2
Fixes style and adds some comments to layers code
Also removes FrameCachePermission::AllowNewest. This should have been removed as part of https://android-git.corp.google.com/g/#/c/2712. Bug: 5262656 Change-Id: I4d819cc5087653e4a1180d04ca0b5b20db7e2305
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;