diff options
author | George Mount <mount@google.com> | 2012-06-07 11:06:03 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-06-07 11:06:03 -0700 |
commit | 5a5b34d84738ce55905f982e5afe19e5f7d4c204 (patch) | |
tree | d55abc5133aa59871bbadaa86444f115f66bef8a /Source | |
parent | 317cb8464ee3ba035d9661ba0383d58f9b80620e (diff) | |
parent | 0a6f5b9fdd5bfd7a03fa0da1f1fafccc5a65d091 (diff) | |
download | external_webkit-5a5b34d84738ce55905f982e5afe19e5f7d4c204.zip external_webkit-5a5b34d84738ce55905f982e5afe19e5f7d4c204.tar.gz external_webkit-5a5b34d84738ce55905f982e5afe19e5f7d4c204.tar.bz2 |
Merge "Fix build warning."
Diffstat (limited to 'Source')
-rw-r--r-- | Source/WebKit/android/nav/WebView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp index fae566c..5e2354b 100644 --- a/Source/WebKit/android/nav/WebView.cpp +++ b/Source/WebKit/android/nav/WebView.cpp @@ -716,7 +716,7 @@ void findMaxVisibleRect(int movingLayerId, SkIRect& visibleContentRect) if (findMaskedRectsForLayer(m_baseLayer, rects, movingLayerId)) { float maxSize = 0.0; const FloatRect* largest = 0; - for (int i = 0; i < rects.size(); i++) { + for (unsigned int i = 0; i < rects.size(); i++) { const FloatRect& rect = rects[i]; float size = rect.width() * rect.height(); if (size > maxSize) { |