Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6062)

Unified Diff: chrome/browser/profiles/profile_downloader.cc

Issue 1067593005: Fix race conditions in ImageDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use TestBrowserThreadBundle, cleanup tests Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_downloader.cc
diff --git a/chrome/browser/profiles/profile_downloader.cc b/chrome/browser/profiles/profile_downloader.cc
index 2377772ebde2ee9a379e2153f591755b8e6a4d2e..ab7237b8016e019f9e56943af8ff45c182d5789f 100644
--- a/chrome/browser/profiles/profile_downloader.cc
+++ b/chrome/browser/profiles/profile_downloader.cc
@@ -193,9 +193,7 @@ bool ProfileDownloader::IsDefaultProfileImageURL(const std::string& url) {
}
ProfileDownloader::ProfileDownloader(ProfileDownloaderDelegate* delegate)
- : ImageRequest(
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)),
- OAuth2TokenService::Consumer("profile_downloader"),
+ : OAuth2TokenService::Consumer("profile_downloader"),
delegate_(delegate),
picture_status_(PICTURE_FAILED) {
DCHECK(delegate_);

Powered by Google App Engine
This is Rietveld 408576698