Implemented OnDepNodeUpdate(). Added member variable mNeedsLayout.