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

Speculative buildbot build fix.

        * css/cssstyleselector.cpp:

git-svn-id: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ef6005b4
2007-05-24 Mitz Pettel <>
Speculative buildbot build fix.
* css/cssstyleselector.cpp:
2007-05-24 Adam Roben <>
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))));
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