| Index: chrome/browser/search/thumbnail_source.cc
|
| diff --git a/chrome/browser/search/thumbnail_source.cc b/chrome/browser/search/thumbnail_source.cc
|
| index 295d3264577943dba2e2076002c1e8097b18382d..26afe8922eabb198f196c6bf40fd4fe230f8c09d 100644
|
| --- a/chrome/browser/search/thumbnail_source.cc
|
| +++ b/chrome/browser/search/thumbnail_source.cc
|
| @@ -79,13 +79,13 @@ std::string ThumbnailSource::GetMimeType(const std::string&) const {
|
| return "image/png";
|
| }
|
|
|
| -base::MessageLoop* ThumbnailSource::MessageLoopForRequestPath(
|
| - const std::string& path) const {
|
| +scoped_refptr<base::SingleThreadTaskRunner>
|
| +ThumbnailSource::TaskRunnerForRequestPath(const std::string& path) const {
|
| // TopSites can be accessed from the IO thread. Otherwise, the URLs should be
|
| // accessed on the UI thread.
|
| return thumbnail_service_.get()
|
| ? nullptr
|
| - : content::URLDataSource::MessageLoopForRequestPath(path);
|
| + : content::URLDataSource::TaskRunnerForRequestPath(path);
|
| }
|
|
|
| bool ThumbnailSource::ShouldServiceRequest(
|
|
|