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

Unified Diff: sky/engine/core/rendering/RenderInline.cpp

Issue 899753003: Walk render tree instead of render layers for paint. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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: sky/engine/core/rendering/RenderInline.cpp
diff --git a/sky/engine/core/rendering/RenderInline.cpp b/sky/engine/core/rendering/RenderInline.cpp
index 70bd05e1961b632c98d964cb9597a4c0ded4e956..6c12fa1faf35aeff3589ee5ed17d42ba463ebbb6 100644
--- a/sky/engine/core/rendering/RenderInline.cpp
+++ b/sky/engine/core/rendering/RenderInline.cpp
@@ -170,9 +170,9 @@ void RenderInline::addChild(RenderObject* newChild, RenderObject* beforeChild)
newChild->setNeedsLayoutAndPrefWidthsRecalc();
}
-void RenderInline::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
+void RenderInline::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, Vector<RenderBox*>& layers)
{
- m_lineBoxes.paint(this, paintInfo, paintOffset);
+ m_lineBoxes.paint(this, paintInfo, paintOffset, layers);
}
template<typename GeneratorContext>

Powered by Google App Engine
This is Rietveld 408576698