| 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 e1410554b55e2885f807a202bba4d42014e2a537..841db4b205808d10e89768392d1ad3c662705690 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| @@ -1004,7 +1004,7 @@ void LayoutBlock::insertPositionedObject(LayoutBox* o) {
|
| descendantSet = new TrackedLayoutBoxListHashSet;
|
| gPositionedDescendantsMap->set(this, WTF::wrapUnique(descendantSet));
|
| }
|
| - descendantSet->add(o);
|
| + descendantSet->insert(o);
|
|
|
| m_hasPositionedObjects = true;
|
| }
|
| @@ -1113,7 +1113,7 @@ void LayoutBlock::addPercentHeightDescendant(LayoutBox* descendant) {
|
| descendantSet = new TrackedLayoutBoxListHashSet;
|
| gPercentHeightDescendantsMap->set(this, WTF::wrapUnique(descendantSet));
|
| }
|
| - descendantSet->add(descendant);
|
| + descendantSet->insert(descendant);
|
|
|
| m_hasPercentHeightDescendants = true;
|
| }
|
|
|