| Index: third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp b/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
|
| index aca2e19f769bf77b34e33ec2ca1ad17c165a2784..a34a32e6bbee3029ebeb5235e66ec4411363284a 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
|
| @@ -212,7 +212,7 @@ void SVGTextContentElement::selectSubString(unsigned charnum,
|
| if (nchars > numberOfChars - charnum)
|
| nchars = numberOfChars - charnum;
|
|
|
| - ASSERT(document().frame());
|
| + DCHECK(document().frame());
|
|
|
| // Find selection start
|
| VisiblePosition start = VisiblePosition::firstPositionInNode(
|
| @@ -296,7 +296,7 @@ SVGTextContentElement* SVGTextContentElement::elementFromLineLayoutItem(
|
| return nullptr;
|
|
|
| SVGElement* element = toSVGElement(lineLayoutItem.node());
|
| - ASSERT(element);
|
| + DCHECK(element);
|
| return isSVGTextContentElement(*element) ? toSVGTextContentElement(element)
|
| : 0;
|
| }
|
|
|