X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fcss%2FCSSGradientValue.cpp;h=b4a8229c7ef31dc99b63226ecbba4e2596ab1f9f;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=3356e9bd00c1ac7b331b6c3bb5e4f4f48bfaec93;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/css/CSSGradientValue.cpp b/src/third_party/WebKit/Source/core/css/CSSGradientValue.cpp index 3356e9b..b4a8229 100644 --- a/src/third_party/WebKit/Source/core/css/CSSGradientValue.cpp +++ b/src/third_party/WebKit/Source/core/css/CSSGradientValue.cpp @@ -512,7 +512,7 @@ String CSSLinearGradientValue::customCSSText() const result.append(')'); } else { result.appendLiteral("color-stop("); - result.append(String::number(stop.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER))); + result.appendNumber(stop.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER)); result.appendLiteral(", "); result.append(stop.m_color->cssText()); result.append(')'); @@ -797,7 +797,7 @@ String CSSRadialGradientValue::customCSSText() const result.append(')'); } else { result.appendLiteral("color-stop("); - result.append(String::number(stop.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER))); + result.appendNumber(stop.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER)); result.appendLiteral(", "); result.append(stop.m_color->cssText()); result.append(')');