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

Unified Diff: chrome/browser/apps/drive/drive_app_converter.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
« no previous file with comments | « chrome/browser/android/logo_service.cc ('k') | chrome/browser/bitmap_fetcher/bitmap_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/drive/drive_app_converter.cc
diff --git a/chrome/browser/apps/drive/drive_app_converter.cc b/chrome/browser/apps/drive/drive_app_converter.cc
index 7752c8636c09e0795bfa198da8f7c0e8529d8614..581b67c5ae68049fc552446e516157f3cb18ca87 100644
--- a/chrome/browser/apps/drive/drive_app_converter.cc
+++ b/chrome/browser/apps/drive/drive_app_converter.cc
@@ -37,9 +37,7 @@ class DriveAppConverter::IconFetcher : public net::URLFetcherDelegate,
IconFetcher(DriveAppConverter* converter,
const GURL& icon_url,
int expected_size)
- : ImageRequest(
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)),
- converter_(converter),
+ : converter_(converter),
icon_url_(icon_url),
expected_size_(expected_size) {}
~IconFetcher() override {}
« no previous file with comments | « chrome/browser/android/logo_service.cc ('k') | chrome/browser/bitmap_fetcher/bitmap_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698