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

Issue 8774048: [Linux] Call g_thread_init() in UtilityThreadImpl::OnLoadPlugins(). (Closed)

Created:
9 years ago by Robert Sesek
Modified:
9 years ago
Reviewers:
jam, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, dpranke-watch+content_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

[Linux] Call g_thread_init() in UtilityThreadImpl::OnLoadPlugins(). This allows plugins that call into glib for NP_GetMIMEDescription to load without crashing. BUG=71661, 105252 TEST=Have libTotem plugins installed, go to about:plugins and they are present. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113021

Patch Set 1 #

Total comments: 4

Patch Set 2 : Move to ctor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M content/utility/utility_thread_impl.cc View 1 3 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Robert Sesek
9 years ago (2011-12-02 18:05:14 UTC) #1
piman
http://codereview.chromium.org/8774048/diff/1/content/utility/utility_thread_impl.cc File content/utility/utility_thread_impl.cc (right): http://codereview.chromium.org/8774048/diff/1/content/utility/utility_thread_impl.cc#newcode137 content/utility/utility_thread_impl.cc:137: g_thread_init(NULL); It seems that we should do that once ...
9 years ago (2011-12-02 18:13:39 UTC) #2
Robert Sesek
http://codereview.chromium.org/8774048/diff/1/content/utility/utility_thread_impl.cc File content/utility/utility_thread_impl.cc (right): http://codereview.chromium.org/8774048/diff/1/content/utility/utility_thread_impl.cc#newcode137 content/utility/utility_thread_impl.cc:137: g_thread_init(NULL); On 2011/12/02 18:13:39, piman wrote: > It seems ...
9 years ago (2011-12-02 18:37:44 UTC) #3
piman
http://codereview.chromium.org/8774048/diff/1/content/utility/utility_thread_impl.cc File content/utility/utility_thread_impl.cc (right): http://codereview.chromium.org/8774048/diff/1/content/utility/utility_thread_impl.cc#newcode137 content/utility/utility_thread_impl.cc:137: g_thread_init(NULL); On 2011/12/02 18:37:44, rsesek wrote: > On 2011/12/02 ...
9 years ago (2011-12-02 18:45:21 UTC) #4
Robert Sesek
Thanks for the review. http://codereview.chromium.org/8774048/diff/1/content/utility/utility_thread_impl.cc File content/utility/utility_thread_impl.cc (right): http://codereview.chromium.org/8774048/diff/1/content/utility/utility_thread_impl.cc#newcode137 content/utility/utility_thread_impl.cc:137: g_thread_init(NULL); On 2011/12/02 18:45:21, piman ...
9 years ago (2011-12-02 19:19:42 UTC) #5
piman
lgtm
9 years ago (2011-12-02 22:10:49 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/8774048/3002
9 years ago (2011-12-02 22:13:36 UTC) #7
commit-bot: I haz the power
Presubmit check for 8774048-3002 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-12-02 22:13:39 UTC) #8
Robert Sesek
+jam for OWNERS approval
9 years ago (2011-12-02 22:16:27 UTC) #9
jam
lgtm
9 years ago (2011-12-04 23:00:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/8774048/3002
9 years ago (2011-12-05 15:48:33 UTC) #11
commit-bot: I haz the power
9 years ago (2011-12-05 21:05:16 UTC) #12
Change committed as 113021

Powered by Google App Engine
This is Rietveld 408576698