This is no new code though. It just got moved here from [above](https://github.com/openlayers/ol3/pull/793/files#L7L60) to avoid another extent calculation.