| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGGradientStop.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGGradientStop.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGGradientStop.cpp
|
| index 8c1289e4f3b3eba5564f870996c64000234056d5..5ddab52789d8de0be40ab079705c8450568e11b2 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGGradientStop.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGGradientStop.cpp
|
| @@ -36,8 +36,9 @@ void LayoutSVGGradientStop::styleDidChange(StyleDifference diff,
|
| if (!diff.hasDifference())
|
| return;
|
|
|
| - // <stop> elements should only be allowed to make layoutObjects under gradient elements
|
| - // but I can imagine a few cases we might not be catching, so let's not crash if our parent isn't a gradient.
|
| + // <stop> elements should only be allowed to make layoutObjects under gradient
|
| + // elements but I can imagine a few cases we might not be catching, so let's
|
| + // not crash if our parent isn't a gradient.
|
| SVGGradientElement* gradient = gradientElement();
|
| if (!gradient)
|
| return;
|
|
|