| Index: third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| index 67a9d573785143e0e21f2534f050569531a759bc..58a7d3fdf85d115f6b13db43154b8faea23afe88 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| @@ -904,8 +904,10 @@ void SVGElement::attributeChanged(const AttributeModificationParams& params) {
|
| LayoutObject* object = layoutObject();
|
| // Notify resources about id changes, this is important as we cache
|
| // resources by id in SVGDocumentExtensions
|
| - if (object && object->isSVGResourceContainer())
|
| - toLayoutSVGResourceContainer(object)->idChanged();
|
| + if (object && object->isSVGResourceContainer()) {
|
| + toLayoutSVGResourceContainer(object)->idChanged(params.oldValue,
|
| + params.newValue);
|
| + }
|
| if (isConnected())
|
| buildPendingResourcesIfNeeded();
|
| invalidateInstances();
|
|
|