Index: content/public/browser/url_data_source.cc |
diff --git a/content/public/browser/url_data_source.cc b/content/public/browser/url_data_source.cc |
index 7933952f34432ea36e5e2940fcbd6e49e211dd80..7bcbe1d2eb04d80273f628664c7c380d10afab7f 100644 |
--- a/content/public/browser/url_data_source.cc |
+++ b/content/public/browser/url_data_source.cc |
@@ -16,9 +16,9 @@ void URLDataSource::Add(BrowserContext* browser_context, |
URLDataManager::AddDataSource(browser_context, source); |
} |
-base::MessageLoop* URLDataSource::MessageLoopForRequestPath( |
- const std::string& path) const { |
- return BrowserThread::UnsafeGetMessageLoopForThread(BrowserThread::UI); |
+scoped_refptr<base::SingleThreadTaskRunner> |
+URLDataSource::TaskRunnerForRequestPath(const std::string& path) const { |
+ return BrowserThread::GetTaskRunnerForThread(BrowserThread::UI); |
} |
bool URLDataSource::ShouldReplaceExistingSource() const { |