| Index: Source/core/layout/ImageQualityController.cpp
|
| diff --git a/Source/core/layout/ImageQualityController.cpp b/Source/core/layout/ImageQualityController.cpp
|
| index 9c45ec79065a8ce56c575fb86c3eecbc0305b812..821ca3a1ee27f6556351ce088fdfc5b2c3d1dee5 100644
|
| --- a/Source/core/layout/ImageQualityController.cpp
|
| +++ b/Source/core/layout/ImageQualityController.cpp
|
| @@ -131,15 +131,15 @@ void ImageQualityController::highQualityRepaintTimerFired(Timer<ImageQualityCont
|
| return;
|
| m_animatedResizeIsActive = false;
|
|
|
| - for (ObjectLayerSizeMap::iterator it = m_objectLayerSizeMap.begin(); it != m_objectLayerSizeMap.end(); ++it) {
|
| - if (LocalFrame* frame = it->key->document().frame()) {
|
| + for (auto* layoutObject : m_objectLayerSizeMap.keys()) {
|
| + if (LocalFrame* frame = layoutObject->document().frame()) {
|
| // If this renderer's containing FrameView is in live resize, punt the timer and hold back for now.
|
| if (frame->view() && frame->view()->inLiveResize()) {
|
| restartTimer();
|
| return;
|
| }
|
| }
|
| - it->key->setShouldDoFullPaintInvalidation();
|
| + layoutObject->setShouldDoFullPaintInvalidation();
|
| }
|
|
|
| m_liveResizeOptimizationIsActive = false;
|
|
|