| Index: chrome/browser/icon_manager.h
|
| diff --git a/chrome/browser/icon_manager.h b/chrome/browser/icon_manager.h
|
| index 3b3b594f3ed1644f5884d31e51b21a008608ca19..3622203244cc9eff5fdf4f3a3f1dc8bf5a32c547 100644
|
| --- a/chrome/browser/icon_manager.h
|
| +++ b/chrome/browser/icon_manager.h
|
| @@ -71,7 +71,7 @@ class IconManager : public IconLoader::Delegate,
|
| IconLoader::IconSize size);
|
|
|
| typedef CancelableRequestProvider::Handle Handle;
|
| - typedef Callback2<Handle, gfx::Image*>::Type IconRequestCallback;
|
| + typedef base::Callback<void(Handle, gfx::Image*)> IconRequestCallback;
|
|
|
| // Asynchronous call to lookup and return the icon associated with file. The
|
| // work is done on the file thread, with the callbacks running on the UI
|
| @@ -82,7 +82,7 @@ class IconManager : public IconLoader::Delegate,
|
| Handle LoadIcon(const FilePath& file_name,
|
| IconLoader::IconSize size,
|
| CancelableRequestConsumerBase* consumer,
|
| - IconRequestCallback* callback);
|
| + const IconRequestCallback& callback);
|
|
|
| // IconLoader::Delegate interface.
|
| virtual bool OnImageLoaded(IconLoader* source, gfx::Image* result);
|
|
|