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

Unified Diff: Source/core/paint/LineBoxListPainter.cpp

Issue 729523002: Add fast/inline to virtual/slimmingpaint and make the tests pass (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Expectation for fast/inline/justify-emphasis-inline-box.html. Created 6 years, 1 month 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 | « Source/core/paint/InlinePainter.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
}
« no previous file with comments | « Source/core/paint/InlinePainter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698