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

Unified Diff: sky/engine/core/rendering/InlineBox.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/InlineBox.cpp
diff --git a/sky/engine/core/rendering/InlineBox.cpp b/sky/engine/core/rendering/InlineBox.cpp
index 58017e944e27071578bddc36b0aab506d03e27a6..43969f327151884b42b12db65c7162ef7d1749e5 100644
--- a/sky/engine/core/rendering/InlineBox.cpp
+++ b/sky/engine/core/rendering/InlineBox.cpp
@@ -191,9 +191,9 @@ void InlineBox::adjustPosition(float dx, float dy)
toRenderBox(renderer()).move(dx, dy);
}
-void InlineBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit /* lineTop */, LayoutUnit /*lineBottom*/)
+void InlineBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit /* lineTop */, LayoutUnit /*lineBottom*/, Vector<RenderBox*> layers)
{
- renderer().paint(paintInfo, paintOffset);
+ renderer().paint(paintInfo, paintOffset, layers);
}
bool InlineBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit /* lineTop */, LayoutUnit /*lineBottom*/)

Powered by Google App Engine
This is Rietveld 408576698