WebSocket Pepper API: fix wrong return code on thunk

Some thunk functions returned PP_ERROR_BADRESOURCE for EnterResource failure
though returning value is not int32_t error code.

BUG=87310
TEST=ui_tests --gtest_filter='PPAPI*.WebSocket_*'


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118050 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed