Title: [86654] trunk/Source/WebCore
- Revision
- 86654
- Author
- [email protected]
- Date
- 2011-05-16 21:26:25 -0700 (Mon, 16 May 2011)
Log Message
2011-05-16 Kent Tamura <[email protected]>
Fix Leopard build.
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::stepUpFromRenderer): Use double instead of int.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (86653 => 86654)
--- trunk/Source/WebCore/ChangeLog 2011-05-17 04:08:18 UTC (rev 86653)
+++ trunk/Source/WebCore/ChangeLog 2011-05-17 04:26:25 UTC (rev 86654)
@@ -1,3 +1,10 @@
+2011-05-16 Kent Tamura <[email protected]>
+
+ Fix Leopard build.
+
+ * html/HTMLInputElement.cpp:
+ (WebCore::HTMLInputElement::stepUpFromRenderer): Use double instead of int.
+
2011-05-16 James Robinson <[email protected]>
Reviewed by Kenneth Russell.
Modified: trunk/Source/WebCore/html/HTMLInputElement.cpp (86653 => 86654)
--- trunk/Source/WebCore/html/HTMLInputElement.cpp 2011-05-17 04:08:18 UTC (rev 86653)
+++ trunk/Source/WebCore/html/HTMLInputElement.cpp 2011-05-17 04:26:25 UTC (rev 86654)
@@ -1461,7 +1461,7 @@
if (!isfinite(current)) {
ExceptionCode ec;
current = m_inputType->defaultValueForStepUp();
- int nextDiff = step * n;
+ double nextDiff = step * n;
if (current < m_inputType->minimum() - nextDiff)
current = m_inputType->minimum() - nextDiff;
if (current > m_inputType->maximum() - nextDiff)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes