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

Issue 192883004: linux_aura: run IconLoader::ReadIcon on the UI thread. (Closed)

Created:
6 years, 9 months ago by davidben
Modified:
6 years, 9 months ago
Reviewers:
Nico, Elliot Glaysher
CC:
chromium-reviews
Visibility:
Public.

Description

linux_aura: run IconLoader::ReadIcon on the UI thread. The implementation goes through GTK's native icon routines which are not thread-safe. BUG=350545 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256391

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -1 line) Patch
M chrome/browser/icon_loader.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/icon_loader.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/icon_loader_android.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/icon_loader_auralinux.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/icon_loader_chromeos.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/icon_loader_linux.cc View 1 chunk +6 lines, -0 lines 2 comments Download
M chrome/browser/icon_loader_mac.mm View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/icon_loader_win.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
davidben
erg: Main review thakis: OWNERS This does mean we're blocking the UI thread on file ...
6 years, 9 months ago (2014-03-10 16:41:09 UTC) #1
Elliot Glaysher
In general, it's regrettable that it has to be done this way, but GTK was ...
6 years, 9 months ago (2014-03-10 17:22:21 UTC) #2
Nico
https://codereview.chromium.org/192883004/diff/1/chrome/browser/icon_loader_linux.cc File chrome/browser/icon_loader_linux.cc (right): https://codereview.chromium.org/192883004/diff/1/chrome/browser/icon_loader_linux.cc#newcode34 chrome/browser/icon_loader_linux.cc:34: return content::BrowserThread::FILE; Isn't icon_loader_linux gtk too? Why would linux/aura ...
6 years, 9 months ago (2014-03-11 16:26:18 UTC) #3
davidben
https://codereview.chromium.org/192883004/diff/1/chrome/browser/icon_loader_linux.cc File chrome/browser/icon_loader_linux.cc (right): https://codereview.chromium.org/192883004/diff/1/chrome/browser/icon_loader_linux.cc#newcode34 chrome/browser/icon_loader_linux.cc:34: return content::BrowserThread::FILE; On 2014/03/11 16:26:19, Nico wrote: > Isn't ...
6 years, 9 months ago (2014-03-11 16:37:12 UTC) #4
Nico
lgtm stamp To me it sounds that blocking the UI thread might be worse than ...
6 years, 9 months ago (2014-03-11 16:47:14 UTC) #5
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 9 months ago (2014-03-11 18:07:52 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/192883004/1
6 years, 9 months ago (2014-03-11 18:16:02 UTC) #7
commit-bot: I haz the power
6 years, 9 months ago (2014-03-12 01:48:12 UTC) #8
Message was sent while issue was closed.
Change committed as 256391

Powered by Google App Engine
This is Rietveld 408576698