OSDN Git Service
(root)
/
android-x86
/
external-webkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de98e81
)
Fix a compiler warning in handleTouchEvent()
author
Steve Block
<steveblock@google.com>
Wed, 20 Apr 2011 12:11:26 +0000
(13:11 +0100)
committer
Steve Block
<steveblock@google.com>
Wed, 20 Apr 2011 17:04:12 +0000
(18:04 +0100)
Change-Id: I6aeafd3d83bbb114164445e7d9f6da0fbc0589f5
WebKit/android/jni/WebViewCore.cpp
patch
|
blob
|
history
diff --git
a/WebKit/android/jni/WebViewCore.cpp
b/WebKit/android/jni/WebViewCore.cpp
index
f56d89c
..
4bba71a
100644
(file)
--- a/
WebKit/android/jni/WebViewCore.cpp
+++ b/
WebKit/android/jni/WebViewCore.cpp
@@
-3079,7
+3079,7
@@
bool WebViewCore::handleTouchEvent(int action, Vector<int>& ids, Vector<IntPoint
return 0;
}
- for (
unsigned c = 0; c < points.size(
); c++) {
+ for (
int c = 0; c < static_cast<int>(points.size()
); c++) {
points[c].setX(points[c].x() - m_scrollOffsetX);
points[c].setY(points[c].y() - m_scrollOffsetY);