| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
|
| index b2733fee658332047dbca549fa92bdfc434875ac..6d30f031a854fe88fd41cd73f23b0374b08ea420 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
|
| @@ -229,7 +229,7 @@ void LayoutSVGResourceContainer::registerResource()
|
| return;
|
| }
|
|
|
| - OwnPtrWillBeRawPtr<SVGDocumentExtensions::SVGPendingElements> clients(extensions.removePendingResource(m_id));
|
| + RawPtr<SVGDocumentExtensions::SVGPendingElements> clients(extensions.removePendingResource(m_id));
|
|
|
| // Cache us with the new id.
|
| extensions.addResource(m_id, this);
|
| @@ -289,7 +289,7 @@ static inline void removeFromCacheAndInvalidateDependencies(LayoutObject* object
|
| // reference graph adjustments on changes, so we need to break possible cycles here.
|
| // This strong reference is safe, as it is guaranteed that this set will be emptied
|
| // at the end of recursion.
|
| - DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<SVGElementSet>, invalidatingDependencies, (adoptPtrWillBeNoop(new SVGElementSet)));
|
| + DEFINE_STATIC_LOCAL(Persistent<SVGElementSet>, invalidatingDependencies, (adoptPtrWillBeNoop(new SVGElementSet)));
|
|
|
| for (SVGElement* element : *dependencies) {
|
| if (LayoutObject* layoutObject = element->layoutObject()) {
|
|
|