Removed an unnecessary check.

Removed because each platform’s container should get the chance to
handle null view scenarios.