Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Unified Diff: ppapi/thunk/ppb_layer_compositor_thunk.cc

Issue 9113044: Convert to new enter method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: PATCH DESCRIPTIONS ARE A STUPID WASTE OF TIME Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/thunk/ppb_input_event_thunk.cc ('k') | ppapi/thunk/ppb_mouse_lock_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_layer_compositor_thunk.cc
diff --git a/ppapi/thunk/ppb_layer_compositor_thunk.cc b/ppapi/thunk/ppb_layer_compositor_thunk.cc
index df03a43eb9d0a4820911f008851a234d3112d593..98007d3553321d0f58c8be1fd9a63d910e66d296 100644
--- a/ppapi/thunk/ppb_layer_compositor_thunk.cc
+++ b/ppapi/thunk/ppb_layer_compositor_thunk.cc
@@ -4,7 +4,6 @@
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/dev/ppb_layer_compositor_dev.h"
-#include "ppapi/thunk/common.h"
#include "ppapi/thunk/enter.h"
#include "ppapi/thunk/thunk.h"
#include "ppapi/thunk/ppb_layer_compositor_api.h"
@@ -46,7 +45,7 @@ void MarkAsDirty(PP_Resource compositor, PP_Resource layer) {
int32_t SwapBuffers(PP_Resource compositor,
struct PP_CompletionCallback callback) {
- return MayForceCallback(callback, PP_ERROR_FAILED);
+ return PP_ERROR_NOINTERFACE;
}
const PPB_LayerCompositor_Dev g_ppb_layer_compositor_thunk = {
« no previous file with comments | « ppapi/thunk/ppb_input_event_thunk.cc ('k') | ppapi/thunk/ppb_mouse_lock_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698