Merge pull request #10160 from fpdotmonkey/heed-renderwidget-switch-warning Fix switch warning in RenderWidget