cc: Handle GrContext::wrapBackendTexture failures properly.
commit00f53a49a90a56c22d412a8e0e27e3a4a6ae5155
authorreveman <reveman@chromium.org>
Mon, 3 Nov 2014 20:56:51 +0000 (3 12:56 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 3 Nov 2014 20:57:05 +0000 (3 20:57 +0000)
treebfa250bb10bdd8ff9bb10b5bae80607c27186d94
parenta1104b88763dad9bb171b4a3b7a7a7fee9b27d70
cc: Handle GrContext::wrapBackendTexture failures properly.

GrContext::wrapBackendTexture will return null in case of failure
but the compositor assumes that this will never happen. This will
make GetSkSurface early out if the return value of
GrContext::wrapBackendTexture is null.

BUG=419136

Review URL: https://codereview.chromium.org/696353003

Cr-Commit-Position: refs/heads/master@{#302477}
cc/resources/resource_provider.cc