| Index: third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
|
| index d01671376eb2b40f0b87852327598cdc732ac5d6..f53f15cdeff6d9e7f4b9e1377cd9b8c91c556ab3 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
|
| @@ -732,7 +732,7 @@ void PaintController::generateChunkRasterInvalidationRectsComparingOldChunk(
|
| clientToInvalidate = &oldItem.client();
|
| }
|
| if (clientToInvalidate &&
|
| - invalidatedClientsInOldChunk.add(clientToInvalidate).isNewEntry) {
|
| + invalidatedClientsInOldChunk.insert(clientToInvalidate).isNewEntry) {
|
| addRasterInvalidationInfo(
|
| isPotentiallyInvalidClient ? nullptr : clientToInvalidate, newChunk,
|
| FloatRect(m_currentPaintArtifact.getDisplayItemList().visualRect(
|
| @@ -745,7 +745,7 @@ void PaintController::generateChunkRasterInvalidationRectsComparingOldChunk(
|
| ++newIndex) {
|
| const DisplayItem& newItem = m_newDisplayItemList[newIndex];
|
| if (newItem.drawsContent() && !clientCacheIsValid(newItem.client()) &&
|
| - invalidatedClientsInNewChunk.add(&newItem.client()).isNewEntry) {
|
| + invalidatedClientsInNewChunk.insert(&newItem.client()).isNewEntry) {
|
| addRasterInvalidationInfo(&newItem.client(), newChunk,
|
| FloatRect(newItem.client().visualRect()));
|
| }
|
|
|