summaryrefslogtreecommitdiffstats
path: root/ppapi/examples
diff options
context:
space:
mode:
authorpolina@google.com <polina@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-09 09:34:34 +0000
committerpolina@google.com <polina@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-09 09:34:34 +0000
commit80bfbb9dc3480dd28908b4bb4a20385a68de8998 (patch)
tree03d324e12148ed96e61d3aac1a19dac0d6566a42 /ppapi/examples
parent30ffb3968da0e9e4312164eb52c4dbf58e9ef1a0 (diff)
downloadchromium_src-80bfbb9dc3480dd28908b4bb4a20385a68de8998.zip
chromium_src-80bfbb9dc3480dd28908b4bb4a20385a68de8998.tar.gz
chromium_src-80bfbb9dc3480dd28908b4bb4a20385a68de8998.tar.bz2
PPAPI: Remove deprecated PP_ERROR_WOULDBLOCK and PP_Error_WouldBlock.
Note: left idl files untouched to avoid conflicts. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/7253029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91953 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/examples')
-rw-r--r--ppapi/examples/gles2/gles2.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/ppapi/examples/gles2/gles2.cc b/ppapi/examples/gles2/gles2.cc
index 657159b..62e0711 100644
--- a/ppapi/examples/gles2/gles2.cc
+++ b/ppapi/examples/gles2/gles2.cc
@@ -8,7 +8,6 @@
#include <map>
#include <set>
#include <vector>
-
#include "ppapi/c/dev/ppb_opengles_dev.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/cpp/dev/context_3d_dev.h"
@@ -348,7 +347,7 @@ void GLES2DemoInstance::Render(const PP_GLESBuffer_Dev& buffer) {
pp::CompletionCallback cb =
callback_factory_.NewCallback(
&GLES2DemoInstance::PaintFinished, buffer.info.id);
- assert(surface_->SwapBuffers(cb) == PP_ERROR_WOULDBLOCK);
+ assert(surface_->SwapBuffers(cb) == PP_OK_COMPLETIONPENDING);
assertNoGLError();
}