Commit db2b908b authored by laszlo.1.gombos@nokia.com's avatar laszlo.1.gombos@nokia.com
Browse files

2010-04-30 Laszlo Gombos <laszlo.1.gombos@nokia.com>

        Unreviewed, build fix.

        Fix compiler warning "suggest parentheses around"

        No new tests as there is no new functionality.

        * svg/SVGAnimateElement.cpp:
        (WebCore::SVGAnimateElement::calculateFromAndToValues):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 23dab989
2010-04-30 Laszlo Gombos <laszlo.1.gombos@nokia.com>
Unreviewed, build fix.
Fix compiler warning "suggest parentheses around"
No new tests as there is no new functionality.
* svg/SVGAnimateElement.cpp:
(WebCore::SVGAnimateElement::calculateFromAndToValues):
2010-04-30 Kent Tamura <tkent@chromium.org>
 
Unreviewed. Regression fix.
......@@ -178,7 +178,7 @@ bool SVGAnimateElement::calculateFromAndToValues(const String& fromString, const
if (m_propertyType == ColorProperty) {
m_fromColor = SVGColor::colorFromRGBColorString(fromString);
m_toColor = SVGColor::colorFromRGBColorString(toString);
if (m_fromColor.isValid() && m_toColor.isValid() || m_toColor.isValid() && animationMode() == ToAnimation)
if ((m_fromColor.isValid() && m_toColor.isValid()) || (m_toColor.isValid() && animationMode() == ToAnimation))
return true;
} else if (m_propertyType == NumberProperty) {
m_numberUnit = String();
......
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