| Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| index 7aa6ac9b9597bf7be00230dd6c2fce164c8098bc..dc258c4535c16784f04f72d00c3e8870d243d211 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| @@ -1030,7 +1030,7 @@ void LayoutBlock::removePositionedObject(LayoutBox* o) {
|
| TrackedLayoutBoxListHashSet* positionedDescendants =
|
| gPositionedDescendantsMap->at(container);
|
| ASSERT(positionedDescendants && positionedDescendants->contains(o));
|
| - positionedDescendants->remove(o);
|
| + positionedDescendants->erase(o);
|
| if (positionedDescendants->isEmpty()) {
|
| gPositionedDescendantsMap->erase(container);
|
| container->m_hasPositionedObjects = false;
|
| @@ -1096,7 +1096,7 @@ void LayoutBlock::removePositionedObjects(
|
|
|
| for (auto object : deadObjects) {
|
| ASSERT(gPositionedContainerMap->at(object) == this);
|
| - positionedDescendants->remove(object);
|
| + positionedDescendants->erase(object);
|
| gPositionedContainerMap->erase(object);
|
| }
|
| if (positionedDescendants->isEmpty()) {
|
| @@ -1130,7 +1130,7 @@ void LayoutBlock::addPercentHeightDescendant(LayoutBox* descendant) {
|
|
|
| void LayoutBlock::removePercentHeightDescendant(LayoutBox* descendant) {
|
| if (TrackedLayoutBoxListHashSet* descendants = percentHeightDescendants()) {
|
| - descendants->remove(descendant);
|
| + descendants->erase(descendant);
|
| descendant->setPercentHeightContainer(nullptr);
|
| if (descendants->isEmpty()) {
|
| gPercentHeightDescendantsMap->erase(this);
|
|
|