We call this function _getInnerConstraints in other classes. Also, this change makes it private for RenderOverflowBox.