| 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 2e525ba4da6790b1a34620f54a937f9447d0c803..525258e73ffd5fd3381924bcb7ff2de62456ce8d 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
|
| @@ -186,7 +186,7 @@ void LayoutSVGResourceContainer::markClientForInvalidation(
|
|
|
| void LayoutSVGResourceContainer::addClient(LayoutObject* client) {
|
| ASSERT(client);
|
| - m_clients.add(client);
|
| + m_clients.insert(client);
|
| clearInvalidationMask();
|
| }
|
|
|
| @@ -269,7 +269,7 @@ static inline void removeFromCacheAndInvalidateDependencies(
|
|
|
| for (SVGElement* element : *dependencies) {
|
| if (LayoutObject* layoutObject = element->layoutObject()) {
|
| - if (UNLIKELY(!invalidatingDependencies.add(element).isNewEntry)) {
|
| + if (UNLIKELY(!invalidatingDependencies.insert(element).isNewEntry)) {
|
| // Reference cycle: we are in process of invalidating this dependant.
|
| continue;
|
| }
|
|
|