| Index: Source/core/css/CSSGradientValue.cpp
|
| diff --git a/Source/core/css/CSSGradientValue.cpp b/Source/core/css/CSSGradientValue.cpp
|
| index 316513f7da42cc72780935b5eb2f1b572405d4db..5cae0518a43424a88995ed699be131286b13898c 100644
|
| --- a/Source/core/css/CSSGradientValue.cpp
|
| +++ b/Source/core/css/CSSGradientValue.cpp
|
| @@ -642,7 +642,7 @@ PassRefPtr<Gradient> CSSLinearGradientValue::createGradient(RenderObject* render
|
| {
|
| ASSERT(!size.isEmpty());
|
|
|
| - RenderStyle* rootStyle = renderer->document()->documentElement()->renderStyle();
|
| + RenderStyle* rootStyle = renderer->document().documentElement()->renderStyle();
|
|
|
| FloatPoint firstPoint;
|
| FloatPoint secondPoint;
|
| @@ -984,7 +984,7 @@ PassRefPtr<Gradient> CSSRadialGradientValue::createGradient(RenderObject* render
|
| {
|
| ASSERT(!size.isEmpty());
|
|
|
| - RenderStyle* rootStyle = renderer->document()->documentElement()->renderStyle();
|
| + RenderStyle* rootStyle = renderer->document().documentElement()->renderStyle();
|
|
|
| FloatPoint firstPoint = computeEndPoint(m_firstX.get(), m_firstY.get(), renderer->style(), rootStyle, size);
|
| if (!m_firstX)
|
|
|