Index: ppapi/thunk/ppb_graphics_2d_api.h |
diff --git a/ppapi/thunk/ppb_graphics_2d_api.h b/ppapi/thunk/ppb_graphics_2d_api.h |
index 7b74cb3667fd95597c96dd8304942cd7b92d29c8..508639981b76cb0e9810e6ab76ebaa687a9c13a7 100644 |
--- a/ppapi/thunk/ppb_graphics_2d_api.h |
+++ b/ppapi/thunk/ppb_graphics_2d_api.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -8,6 +8,7 @@ |
#include "ppapi/c/pp_rect.h" |
#include "ppapi/c/pp_resource.h" |
#include "ppapi/c/pp_size.h" |
+#include "ppapi/shared_impl/api_callback_type.h" |
namespace ppapi { |
namespace thunk { |
@@ -23,7 +24,7 @@ class PPB_Graphics2D_API { |
virtual void Scroll(const PP_Rect* clip_rect, |
const PP_Point* amount) = 0; |
virtual void ReplaceContents(PP_Resource image_data) = 0; |
- virtual int32_t Flush(PP_CompletionCallback callback) = 0; |
+ virtual int32_t Flush(ApiCallbackType callback) = 0; |
}; |
} // namespace thunk |