Fix Graphics2D in NaCl.
This makes Graphics2D resource creation no longer under the "dev" flag.
It also makes binding a graphics context non-synchronous. It doesn't need to be synchronous other than returning success/failure, which almost nobody will check anyway, and most success/failure cases we can detect in the proxy anyway. Doing this prevents the synchronous bind from racing with the async creation in the nested-message-loop case which can run sync messages out-of-order.
BUG=
Review URL: https://codereview.chromium.org/11308332
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170841 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed