Commit 25f3bcfd authored by bdash's avatar bdash
Browse files

Speculative buildbot build fix.

        * css/cssstyleselector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ef6005b4
2007-05-24 Mitz Pettel <mitz@webkit.org>
Speculative buildbot build fix.
* css/cssstyleselector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
2007-05-24 Adam Roben <aroben@apple.com>
 
Made Chrome::addMessageToConsole more flexible
......@@ -3109,7 +3109,7 @@ void CSSStyleSelector::applyProperty(int id, CSSValue *value)
// FIXME: Should clamp all sorts of other integer properties too.
const double minIntAsDouble = INT_MIN;
const double maxIntAsDouble = INT_MAX;
style->setZIndex(max(minIntAsDouble, min(primitiveValue->getFloatValue(), maxIntAsDouble)));
style->setZIndex(static_cast<int>(max(minIntAsDouble, min(primitiveValue->getFloatValue(), maxIntAsDouble))));
return;
}
case CSS_PROP_WIDOWS:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment