| Index: third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp
|
| index 46ae01ab3bc9fae2812e12a802d4a922192464c3..a31ff674001ebf840c239120427a1c1775bff6fb 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp
|
| @@ -37,7 +37,7 @@ bool SVGFEFloodElement::setFilterEffectAttribute(
|
| FilterEffect* effect,
|
| const QualifiedName& attrName) {
|
| LayoutObject* layoutObject = this->layoutObject();
|
| - ASSERT(layoutObject);
|
| + DCHECK(layoutObject);
|
| const ComputedStyle& style = layoutObject->styleRef();
|
| FEFlood* flood = static_cast<FEFlood*>(effect);
|
|
|
| @@ -55,7 +55,7 @@ FilterEffect* SVGFEFloodElement::build(SVGFilterBuilder*, Filter* filter) {
|
| if (!layoutObject)
|
| return nullptr;
|
|
|
| - ASSERT(layoutObject->style());
|
| + DCHECK(layoutObject->style());
|
| const SVGComputedStyle& svgStyle = layoutObject->style()->svgStyle();
|
|
|
| Color color = svgStyle.floodColor();
|
|
|