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

Unified Diff: third_party/WebKit/Source/core/paint/BlockFlowPainter.cpp

Issue 2392443009: reflow comments in core/paint (Closed)
Patch Set: Created 4 years, 2 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
Index: third_party/WebKit/Source/core/paint/BlockFlowPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BlockFlowPainter.cpp b/third_party/WebKit/Source/core/paint/BlockFlowPainter.cpp
index 3374f1af5996c1a1ccf2bf98c3fe397845bcdb62..49d8090e8d594fdc0398c26f42dd09f39df22f4d 100644
--- a/third_party/WebKit/Source/core/paint/BlockFlowPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BlockFlowPainter.cpp
@@ -15,9 +15,10 @@ namespace blink {
void BlockFlowPainter::paintContents(const PaintInfo& paintInfo,
const LayoutPoint& paintOffset) {
- // Avoid painting descendants of the root element when stylesheets haven't loaded. This eliminates FOUC.
- // It's ok not to draw, because later on, when all the stylesheets do load, styleResolverMayHaveChanged()
- // on Document will trigger a full paint invalidation.
+ // Avoid painting descendants of the root element when stylesheets haven't
+ // loaded. This eliminates FOUC. It's ok not to draw, because later on, when
+ // all the stylesheets do load, styleResolverMayHaveChanged() on Document will
+ // trigger a full paint invalidation.
if (m_layoutBlockFlow.document().didLayoutWithPendingStylesheets() &&
!m_layoutBlockFlow.isLayoutView())
return;
@@ -52,7 +53,8 @@ void BlockFlowPainter::paintFloats(const PaintInfo& paintInfo,
continue;
const LayoutBox* floatingLayoutObject = floatingObject->layoutObject();
- // FIXME: LayoutPoint version of xPositionForFloatIncludingMargin would make this much cleaner.
+ // FIXME: LayoutPoint version of xPositionForFloatIncludingMargin would make
+ // this much cleaner.
LayoutPoint childPoint = m_layoutBlockFlow.flipFloatForWritingModeForChild(
*floatingObject,
LayoutPoint(paintOffset.x() +

Powered by Google App Engine
This is Rietveld 408576698