Fixed crash on Mac OS X introduced in http://codereview.chromium.org/1627007 / http://codereview.chromium.org/1527030 . Ensure the renderer is initialized before attempting to use it. Only enable new code path if actually uploading textures via IMC.
Fixed crash on Mac OS X introduced in
http://codereview.chromium.org/1627007 /
http://codereview.chromium.org/1527030 . Ensure the renderer is
initialized before attempting to use it. Only enable new code path if
actually uploading textures via IMC.

Tested in Safari 4 on Mac OS X 10.6.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/2103014

git-svn-id: http://src.chromium.org/svn/trunk/src@47924 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 3cb17dd530401c470f5d681fd9890be8f31ac024
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser