Title: [108535] trunk/Source/WebKit/blackberry
- Revision
- 108535
- Author
- commit-qu...@webkit.org
- Date
- 2012-02-22 12:15:39 -0800 (Wed, 22 Feb 2012)
Log Message
[BlackBerry] InputHandler has signed vs unsigned comparison.
https://bugs.webkit.org/show_bug.cgi?id=79261
Fix warning by casting the unsigned int to an int.
Patch by Mike Fenton <mifen...@rim.com> on 2012-02-22
Reviewed by Rob Buis.
* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::rectForCaret):
Modified Paths
Diff
Modified: trunk/Source/WebKit/blackberry/ChangeLog (108534 => 108535)
--- trunk/Source/WebKit/blackberry/ChangeLog 2012-02-22 20:08:59 UTC (rev 108534)
+++ trunk/Source/WebKit/blackberry/ChangeLog 2012-02-22 20:15:39 UTC (rev 108535)
@@ -1,3 +1,15 @@
+2012-02-22 Mike Fenton <mifen...@rim.com>
+
+ [BlackBerry] InputHandler has signed vs unsigned comparison.
+ https://bugs.webkit.org/show_bug.cgi?id=79261
+
+ Fix warning by casting the unsigned int to an int.
+
+ Reviewed by Rob Buis.
+
+ * WebKitSupport/InputHandler.cpp:
+ (BlackBerry::WebKit::InputHandler::rectForCaret):
+
2012-02-22 Ryosuke Niwa <rn...@webkit.org>
Remove the remaining uses of CSSStyleDeclaration in Editor
Modified: trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp (108534 => 108535)
--- trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp 2012-02-22 20:08:59 UTC (rev 108534)
+++ trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp 2012-02-22 20:15:39 UTC (rev 108535)
@@ -907,7 +907,7 @@
ASSERT(m_currentFocusElement->document() && m_currentFocusElement->document()->frame());
- if (index < 0 || index > elementText().length()) {
+ if (index < 0 || index > static_cast<int>(elementText().length())) {
// Invalid request.
return WebCore::IntRect();
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes