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

Unified Diff: ppapi/thunk/ppb_layer_compositor_api.h

Issue 10081020: PPAPI: Make blocking completion callbacks work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated TestURLLoader to test blocking callbacks. Created 8 years, 8 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
Index: ppapi/thunk/ppb_layer_compositor_api.h
diff --git a/ppapi/thunk/ppb_layer_compositor_api.h b/ppapi/thunk/ppb_layer_compositor_api.h
index 8d727608b4a149542d5c825d9fc5c23e2baca8a1..b117d1940715e0c15fa90de96807fa09a2142f93 100644
--- a/ppapi/thunk/ppb_layer_compositor_api.h
+++ b/ppapi/thunk/ppb_layer_compositor_api.h
@@ -6,6 +6,7 @@
#define PPAPI_THUNK_PPB_LAYER_COMPOSITOR_API_H_
#include "ppapi/c/dev/ppb_layer_compositor_dev.h"
+#include "ppapi/shared_impl/api_callback_type.h"
namespace ppapi {
namespace thunk {
@@ -20,7 +21,7 @@ class PPB_LayerCompositor_API {
virtual void SetRect(PP_Resource layer, const PP_Rect* rect) = 0;
virtual void SetDisplay(PP_Resource layer, PP_Bool is_displayed) = 0;
virtual void MarkAsDirty(PP_Resource layer) = 0;
- virtual int32_t SwapBuffers(PP_CompletionCallback callback) = 0;
+ virtual int32_t SwapBuffers(ApiCallbackType callback) = 0;
};
} // namespace thunk

Powered by Google App Engine
This is Rietveld 408576698