| Index: trunk/Source/core/svg/SVGLengthContext.cpp
|
| ===================================================================
|
| --- trunk/Source/core/svg/SVGLengthContext.cpp (revision 190671)
|
| +++ trunk/Source/core/svg/SVGLengthContext.cpp (working copy)
|
| @@ -179,7 +179,7 @@
|
| return 0;
|
| }
|
|
|
| -static inline const LayoutStyle* layoutStyleForLengthResolving(const SVGElement* context)
|
| +static inline LayoutStyle* layoutStyleForLengthResolving(const SVGElement* context)
|
| {
|
| if (!context)
|
| return 0;
|
| @@ -198,7 +198,7 @@
|
|
|
| float SVGLengthContext::convertValueFromUserUnitsToEMS(float value) const
|
| {
|
| - const LayoutStyle* style = layoutStyleForLengthResolving(m_context);
|
| + LayoutStyle* style = layoutStyleForLengthResolving(m_context);
|
| if (!style)
|
| return 0;
|
|
|
| @@ -211,7 +211,7 @@
|
|
|
| float SVGLengthContext::convertValueFromEMSToUserUnits(float value) const
|
| {
|
| - const LayoutStyle* style = layoutStyleForLengthResolving(m_context);
|
| + LayoutStyle* style = layoutStyleForLengthResolving(m_context);
|
| if (!style)
|
| return 0;
|
| return value * style->specifiedFontSize();
|
| @@ -219,7 +219,7 @@
|
|
|
| float SVGLengthContext::convertValueFromUserUnitsToEXS(float value) const
|
| {
|
| - const LayoutStyle* style = layoutStyleForLengthResolving(m_context);
|
| + LayoutStyle* style = layoutStyleForLengthResolving(m_context);
|
| if (!style)
|
| return 0;
|
|
|
| @@ -234,7 +234,7 @@
|
|
|
| float SVGLengthContext::convertValueFromEXSToUserUnits(float value) const
|
| {
|
| - const LayoutStyle* style = layoutStyleForLengthResolving(m_context);
|
| + LayoutStyle* style = layoutStyleForLengthResolving(m_context);
|
| if (!style)
|
| return 0;
|
|
|
|
|