Index: content/public/browser/font_list_async.h |
diff --git a/content/public/browser/font_list_async.h b/content/public/browser/font_list_async.h |
index 57a744284a617e5aff7ba9c5bc9e59de933e1a3b..4c3f05965f7668f38fbb844cda8376dd9665b989 100644 |
--- a/content/public/browser/font_list_async.h |
+++ b/content/public/browser/font_list_async.h |
@@ -7,7 +7,7 @@ |
#include <memory> |
-#include "base/callback_forward.h" |
+#include "base/callback.h" |
#include "content/common/content_export.h" |
namespace base { |
@@ -20,11 +20,10 @@ namespace content { |
// a non-blocking interface to GetFontList_SlowBlocking in common/. |
// |
// This function will run asynchronously on a background thread since getting |
-// the font list from the system can be slow. This function may be called from |
-// any thread that has a BrowserThread::ID. The callback will be executed on |
-// the calling thread. |
+// the font list from the system can be slow. The callback will be executed on |
+// the calling sequence. |
CONTENT_EXPORT void GetFontListAsync( |
- const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback); |
+ base::OnceCallback<void(std::unique_ptr<base::ListValue>)> callback); |
} // namespace content |