| 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 f5f4e687412abb75f1fedd985573016477adad6f..895ab93b181277516cfa76c20f3f3e1e0afdb7c2 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| @@ -111,7 +111,7 @@ void LayoutBlock::removeFromGlobalMaps() {
|
| gPositionedDescendantsMap->take(this);
|
| ASSERT(!descendants->isEmpty());
|
| for (LayoutBox* descendant : *descendants) {
|
| - ASSERT(gPositionedContainerMap->get(descendant) == this);
|
| + ASSERT(gPositionedContainerMap->at(descendant) == this);
|
| gPositionedContainerMap->erase(descendant);
|
| }
|
| }
|
| @@ -972,7 +972,7 @@ void LayoutBlock::setSelectionState(SelectionState state) {
|
| }
|
|
|
| TrackedLayoutBoxListHashSet* LayoutBlock::positionedObjectsInternal() const {
|
| - return gPositionedDescendantsMap ? gPositionedDescendantsMap->get(this)
|
| + return gPositionedDescendantsMap ? gPositionedDescendantsMap->at(this)
|
| : nullptr;
|
| }
|
|
|
| @@ -997,7 +997,7 @@ void LayoutBlock::insertPositionedObject(LayoutBox* o) {
|
| if (!gPositionedDescendantsMap)
|
| gPositionedDescendantsMap = new TrackedDescendantsMap;
|
| TrackedLayoutBoxListHashSet* descendantSet =
|
| - gPositionedDescendantsMap->get(this);
|
| + gPositionedDescendantsMap->at(this);
|
| if (!descendantSet) {
|
| descendantSet = new TrackedLayoutBoxListHashSet;
|
| gPositionedDescendantsMap->set(this, WTF::wrapUnique(descendantSet));
|
| @@ -1016,7 +1016,7 @@ void LayoutBlock::removePositionedObject(LayoutBox* o) {
|
| return;
|
|
|
| TrackedLayoutBoxListHashSet* positionedDescendants =
|
| - gPositionedDescendantsMap->get(container);
|
| + gPositionedDescendantsMap->at(container);
|
| ASSERT(positionedDescendants && positionedDescendants->contains(o));
|
| positionedDescendants->remove(o);
|
| if (positionedDescendants->isEmpty()) {
|
| @@ -1083,7 +1083,7 @@ void LayoutBlock::removePositionedObjects(
|
| }
|
|
|
| for (auto object : deadObjects) {
|
| - ASSERT(gPositionedContainerMap->get(object) == this);
|
| + ASSERT(gPositionedContainerMap->at(object) == this);
|
| positionedDescendants->remove(object);
|
| gPositionedContainerMap->erase(object);
|
| }
|
| @@ -1106,7 +1106,7 @@ void LayoutBlock::addPercentHeightDescendant(LayoutBox* descendant) {
|
| if (!gPercentHeightDescendantsMap)
|
| gPercentHeightDescendantsMap = new TrackedDescendantsMap;
|
| TrackedLayoutBoxListHashSet* descendantSet =
|
| - gPercentHeightDescendantsMap->get(this);
|
| + gPercentHeightDescendantsMap->at(this);
|
| if (!descendantSet) {
|
| descendantSet = new TrackedLayoutBoxListHashSet;
|
| gPercentHeightDescendantsMap->set(this, WTF::wrapUnique(descendantSet));
|
| @@ -1129,7 +1129,7 @@ void LayoutBlock::removePercentHeightDescendant(LayoutBox* descendant) {
|
|
|
| TrackedLayoutBoxListHashSet* LayoutBlock::percentHeightDescendantsInternal()
|
| const {
|
| - return gPercentHeightDescendantsMap ? gPercentHeightDescendantsMap->get(this)
|
| + return gPercentHeightDescendantsMap ? gPercentHeightDescendantsMap->at(this)
|
| : nullptr;
|
| }
|
|
|
|
|