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

Issue 15134004: Add a leaked reference to g_browser_process before showing the uninstall dialog to avoid the views … (Closed)

Created:
7 years, 7 months ago by robertshield
Modified:
7 years, 7 months ago
Reviewers:
msw, sky, grt (UTC plus 2)
CC:
chromium-reviews, tfarina, kareng
Visibility:
Public.

Description

Add a leaked reference to g_browser_process before showing the uninstall dialog to avoid the views framework from erroneously exiting the browser process. BUG=241366 TEST=Uninstall Chrome while it is set as the default browser. Select an item from the "make other browser default" combobox. Observe that the dialog does not immediately close. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200732

Patch Set 1 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M chrome/browser/ui/views/uninstall_view.cc View 2 chunks +11 lines, -0 lines 1 comment Download

Messages

Total messages: 17 (0 generated)
robertshield
7 years, 7 months ago (2013-05-16 15:14:24 UTC) #1
robertshield
On 2013/05/16 15:14:24, robertshield wrote: FWIW, I'm not 100% happy with this. It would be ...
7 years, 7 months ago (2013-05-16 15:17:07 UTC) #2
msw
Wow, what an awful bug. I suggest getting review from someone that understands the Menu ...
7 years, 7 months ago (2013-05-16 17:45:38 UTC) #3
robertshield
On 2013/05/16 17:45:38, msw wrote: > Wow, what an awful bug. I suggest getting review ...
7 years, 7 months ago (2013-05-16 17:53:54 UTC) #4
grt (UTC plus 2)
I don't really have anything to add, so LGTM. It would be nice if the ...
7 years, 7 months ago (2013-05-16 17:56:05 UTC) #5
msw
On 2013/05/16 17:53:54, robertshield wrote: > On 2013/05/16 17:45:38, msw wrote: > > Wow, what ...
7 years, 7 months ago (2013-05-16 18:01:58 UTC) #6
robertshield
On 2013/05/16 18:01:58, msw wrote: > On 2013/05/16 17:53:54, robertshield wrote: > > On 2013/05/16 ...
7 years, 7 months ago (2013-05-16 18:32:07 UTC) #7
robertshield
On 2013/05/16 18:32:07, robertshield wrote: > On 2013/05/16 18:01:58, msw wrote: > > On 2013/05/16 ...
7 years, 7 months ago (2013-05-16 18:59:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/15134004/3001
7 years, 7 months ago (2013-05-16 19:00:19 UTC) #9
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=3369
7 years, 7 months ago (2013-05-16 19:10:31 UTC) #10
sky
https://codereview.chromium.org/15134004/diff/3001/chrome/browser/ui/views/uninstall_view.cc File chrome/browser/ui/views/uninstall_view.cc (right): https://codereview.chromium.org/15134004/diff/3001/chrome/browser/ui/views/uninstall_view.cc#newcode178 chrome/browser/ui/views/uninstall_view.cc:178: g_browser_process->AddRefModule(); How does the ref count end up hitting ...
7 years, 7 months ago (2013-05-16 19:26:49 UTC) #11
robertshield
On 2013/05/16 19:26:49, sky wrote: > https://codereview.chromium.org/15134004/diff/3001/chrome/browser/ui/views/uninstall_view.cc > File chrome/browser/ui/views/uninstall_view.cc (right): > > https://codereview.chromium.org/15134004/diff/3001/chrome/browser/ui/views/uninstall_view.cc#newcode178 > ...
7 years, 7 months ago (2013-05-16 19:49:06 UTC) #12
robertshield
On 2013/05/16 19:49:06, robertshield wrote: > On 2013/05/16 19:26:49, sky wrote: > > > https://codereview.chromium.org/15134004/diff/3001/chrome/browser/ui/views/uninstall_view.cc ...
7 years, 7 months ago (2013-05-16 21:56:53 UTC) #13
sky
LGTM
7 years, 7 months ago (2013-05-16 22:57:24 UTC) #14
sky
Ok, I get it. I approved this as I prefer keeping the ref counting isolate. ...
7 years, 7 months ago (2013-05-16 22:58:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/15134004/3001
7 years, 7 months ago (2013-05-16 23:20:48 UTC) #16
commit-bot: I haz the power
7 years, 7 months ago (2013-05-17 04:54:42 UTC) #17
Message was sent while issue was closed.
Change committed as 200732

Powered by Google App Engine
This is Rietveld 408576698