Index: content/browser/compositor/delegated_frame_host.h |
diff --git a/content/browser/compositor/delegated_frame_host.h b/content/browser/compositor/delegated_frame_host.h |
index a789ef6e1f0bc2684e650a6afceb3743bfb55643..8a98933c706548b92726674c9e7dfa5ba6be6baa 100644 |
--- a/content/browser/compositor/delegated_frame_host.h |
+++ b/content/browser/compositor/delegated_frame_host.h |
@@ -100,7 +100,7 @@ class CONTENT_EXPORT DelegatedFrameHost |
void RemovingFromWindow(); |
void CopyFromCompositingSurface(const gfx::Rect& src_subrect, |
const gfx::Size& output_size, |
- CopyFromCompositingSurfaceCallback& callback, |
+ ReadbackRequestCallback& callback, |
const SkColorType color_type); |
void CopyFromCompositingSurfaceToVideoFrame( |
const gfx::Rect& src_subrect, |
@@ -182,17 +182,17 @@ class CONTENT_EXPORT DelegatedFrameHost |
static void CopyFromCompositingSurfaceHasResult( |
const gfx::Size& dst_size_in_pixel, |
const SkColorType color_type, |
- const base::Callback<void(bool, const SkBitmap&)>& callback, |
+ ReadbackRequestCallback& callback, |
scoped_ptr<cc::CopyOutputResult> result); |
static void PrepareTextureCopyOutputResult( |
const gfx::Size& dst_size_in_pixel, |
const SkColorType color_type, |
- const base::Callback<void(bool, const SkBitmap&)>& callback, |
+ ReadbackRequestCallback& callback, |
scoped_ptr<cc::CopyOutputResult> result); |
static void PrepareBitmapCopyOutputResult( |
const gfx::Size& dst_size_in_pixel, |
const SkColorType color_type, |
- const base::Callback<void(bool, const SkBitmap&)>& callback, |
+ ReadbackRequestCallback& callback, |
scoped_ptr<cc::CopyOutputResult> result); |
static void CopyFromCompositingSurfaceHasResultForVideo( |
base::WeakPtr<DelegatedFrameHost> rwhva, |