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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.cpp

Issue 1993713002: Move line painting to BlockFlowPainter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/layout/LayoutBlock.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
index 819502b10bf8a474bb20ef195caa19cddda77ccf..993066e345d14417af1b031426b643a5830249ee 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -833,6 +833,11 @@ void LayoutBlock::paintObject(const PaintInfo& paintInfo, const LayoutPoint& pai
BlockPainter(*this).paintObject(paintInfo, paintOffset);
}
+void LayoutBlock::paintContentsAndFloats(const PaintInfo& paintInfo, const LayoutPoint& paintOffset) const
+{
+ BlockPainter(*this).paintContents(paintInfo, paintOffset);
+}
+
bool LayoutBlock::isSelectionRoot() const
{
if (isPseudoElement())

Powered by Google App Engine
This is Rietveld 408576698