Index: Source/core/paint/LineBoxListPainter.cpp |
diff --git a/Source/core/paint/LineBoxListPainter.cpp b/Source/core/paint/LineBoxListPainter.cpp |
index d852e132f1f64472b3928e10be3f7109859b505b..ee77518b12c7006e173109c577e98fe5f9f1add2 100644 |
--- a/Source/core/paint/LineBoxListPainter.cpp |
+++ b/Source/core/paint/LineBoxListPainter.cpp |
@@ -47,11 +47,8 @@ void LineBoxListPainter::paint(RenderBoxModelObject* renderer, PaintInfo& paintI |
} |
if (info.phase == PaintPhaseOutline || info.phase == PaintPhaseSelfOutline || info.phase == PaintPhaseChildOutlines) { |
- ListHashSet<RenderInline*>::iterator end = info.outlineObjects()->end(); |
- for (ListHashSet<RenderInline*>::iterator it = info.outlineObjects()->begin(); it != end; ++it) { |
- RenderInline* flow = *it; |
+ for (RenderInline* flow : *info.outlineObjects()) |
InlinePainter(*flow).paintOutline(info, paintOffset); |
- } |
info.outlineObjects()->clear(); |
} |
} |