Index: ui/gl/async_pixel_transfer_delegate.h |
=================================================================== |
--- ui/gl/async_pixel_transfer_delegate.h (revision 182062) |
+++ ui/gl/async_pixel_transfer_delegate.h (working copy) |
@@ -78,8 +78,6 @@ |
class GL_EXPORT AsyncPixelTransferDelegate { |
public: |
- typedef base::Callback<void(const AsyncMemoryParams&)> CompletionCallback; |
- |
static scoped_ptr<AsyncPixelTransferDelegate> |
Create(gfx::GLContext* context); |
virtual ~AsyncPixelTransferDelegate() {} |
@@ -91,10 +89,8 @@ |
return make_scoped_ptr(CreateRawPixelTransferState(texture_id)); |
} |
- // There's no guarantee that callback will run on the caller thread. |
virtual void AsyncNotifyCompletion( |
- const AsyncMemoryParams& mem_params, |
- const CompletionCallback& callback) = 0; |
+ const base::Closure& notify_task) = 0; |
virtual void AsyncTexImage2D( |
AsyncPixelTransferState* state, |