Pass FlatViewGroup to DrawCommand.draw()

Summary: @public To render `View`s inside `FlatViewGroup`, we need to pass the parent to `DrawCommand.draw()` method. Used in a followup diff.

Reviewed By: sriramramani

Differential Revision: D2564478
This commit is contained in:
Denis Koroskin
2015-12-13 09:54:25 -08:00
committed by Ahmed El-Helw
parent f19acaed4b
commit 7db444c9ae
6 changed files with 6 additions and 6 deletions
@@ -31,7 +31,7 @@ import android.text.Layout;
}
@Override
public void draw(Canvas canvas) {
public void draw(FlatViewGroup parent, Canvas canvas) {
float left = getLeft();
float top = getTop();