Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1338)

Unified Diff: Source/core/layout/ImageQualityController.cpp

Issue 1062283002: Use C++11 range-based loop for core/layout (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Some cleanups Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/layout/LayoutBlock.cpp » ('j') | Source/core/layout/LayoutBlockFlowLine.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/ImageQualityController.cpp
diff --git a/Source/core/layout/ImageQualityController.cpp b/Source/core/layout/ImageQualityController.cpp
index 9c45ec79065a8ce56c575fb86c3eecbc0305b812..861ad37061cb1c4a77378c0efa02c7e772566937 100644
--- a/Source/core/layout/ImageQualityController.cpp
+++ b/Source/core/layout/ImageQualityController.cpp
@@ -131,7 +131,7 @@ void ImageQualityController::highQualityRepaintTimerFired(Timer<ImageQualityCont
return;
m_animatedResizeIsActive = false;
- for (ObjectLayerSizeMap::iterator it = m_objectLayerSizeMap.begin(); it != m_objectLayerSizeMap.end(); ++it) {
+ for (auto it = m_objectLayerSizeMap.begin(); it != m_objectLayerSizeMap.end(); ++it) {
pdr. 2015/04/08 03:03:28 Can you change 'it' to a better name? As written,
if (LocalFrame* frame = it->key->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()) {
« no previous file with comments | « no previous file | Source/core/layout/LayoutBlock.cpp » ('j') | Source/core/layout/LayoutBlockFlowLine.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698