summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/thumbnail_generator.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/thumbnail_generator.h')
-rw-r--r--chrome/browser/tab_contents/thumbnail_generator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/thumbnail_generator.h b/chrome/browser/tab_contents/thumbnail_generator.h
index 0c0e588..8329f29 100644
--- a/chrome/browser/tab_contents/thumbnail_generator.h
+++ b/chrome/browser/tab_contents/thumbnail_generator.h
@@ -32,7 +32,7 @@ class TopSites;
class ThumbnailGenerator : public NotificationObserver,
public TabContentsObserver {
public:
- typedef Callback1<const SkBitmap&>::Type ThumbnailReadyCallback;
+ typedef base::Callback<void(const SkBitmap&)> ThumbnailReadyCallback;
// The result of clipping. This can be used to determine if the
// generated thumbnail is good or not.
enum ClipResult {
@@ -80,7 +80,7 @@ class ThumbnailGenerator : public NotificationObserver,
// dimensions, but might not be the exact size requested.
void AskForSnapshot(RenderWidgetHost* renderer,
bool prefer_backing_store,
- ThumbnailReadyCallback* callback,
+ const ThumbnailReadyCallback& callback,
gfx::Size page_size,
gfx::Size desired_size);