TextureLayer: don't expect a context for mailboxes.
commit5a9d4d328c3ae72ee6c7290b2cecf0d6984606f7
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 3 Jul 2013 08:27:35 +0000 (3 08:27 +0000)
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 3 Jul 2013 08:27:35 +0000 (3 08:27 +0000)
treeb338dade826ec55a341482cd2397c9b791207fe5
parent5d34debbf30b8e52919dc75c60a01471f6848a69
TextureLayer: don't expect a context for mailboxes.

In the non-mailbox path, we use the context for detecting if the context has
been lost, to avoid races on recreation (context mismatch). This is not needed
with mailboxes, and the originating context may not even be available (e.g.
in another other process). So don't expect a context in that path.

BUG=255665

Review URL: https://chromiumcodereview.appspot.com/18420015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209920 0039d316-1c4b-4281-b951-d872f2087c98
cc/layers/texture_layer.cc