| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| index 7d1df3750e1e4dd19e07013cde2602fd1ea3cc96..d8e4fcece05b52a9546b9471630b5f73cf6e59d1 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| @@ -45,7 +45,7 @@ void LayoutSVGResourceMasker::removeAllClientsFromCache(
|
|
|
| void LayoutSVGResourceMasker::removeClientFromCache(LayoutObject* client,
|
| bool markForInvalidation) {
|
| - ASSERT(client);
|
| + DCHECK(client);
|
| markClientForInvalidation(client, markForInvalidation
|
| ? BoundariesInvalidation
|
| : ParentOnlyInvalidation);
|
| @@ -112,7 +112,7 @@ void LayoutSVGResourceMasker::calculateMaskContentVisualRect() {
|
| FloatRect LayoutSVGResourceMasker::resourceBoundingBox(
|
| const LayoutObject* object) {
|
| SVGMaskElement* maskElement = toSVGMaskElement(element());
|
| - ASSERT(maskElement);
|
| + DCHECK(maskElement);
|
|
|
| FloatRect objectBoundingBox = object->objectBoundingBox();
|
| FloatRect maskBoundaries = SVGLengthContext::resolveRectangle<SVGMaskElement>(
|
|
|