Index: gpu/command_buffer/service/gles2_cmd_decoder.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h |
index c4313ca3698cfbb86f7e8bac622e09e2b68cf007..d5004bbaa79cc69154d25b02e61ebb5ab28d0e18 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.h |
@@ -10,7 +10,6 @@ |
#include <vector> |
#include "base/callback.h" |
-#include "base/callback_old.h" |
#include "build/build_config.h" |
#include "gpu/command_buffer/service/common_decoder.h" |
#include "ui/gfx/size.h" |
@@ -107,10 +106,10 @@ class GLES2Decoder : public CommonDecoder { |
// Sets a callback which is called when a glResizeCHROMIUM command |
// is processed. |
virtual void SetResizeCallback( |
- Callback1<gfx::Size>::Type* callback) = 0; |
+ const base::Callback<void(gfx::Size)>& callback) = 0; |
// Sets a callback which is called when a SwapBuffers command is processed. |
- virtual void SetSwapBuffersCallback(Callback0::Type* callback) = 0; |
+ virtual void SetSwapBuffersCallback(const base::Closure& callback) = 0; |
virtual void SetStreamTextureManager(StreamTextureManager* manager) = 0; |