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

Issue 298133007: Fixed leaks of WebstoreStandaloneInstallers in some code paths (Closed)

Created:
6 years, 7 months ago by tmdiep
Modified:
6 years, 6 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@install_base
Visibility:
Public.

Description

Fixed leaks of WebstoreStandaloneInstallers in some code paths Simplifies the sequence of AddRef() and Release() to avoid leaks due to unbalanced Releases. BUG=378606 TEST=browser_tests Manual: Test installing apps via the app launcher and inline installation to ensure there are no regressions. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275270

Patch Set 1 #

Patch Set 2 : Self nits #

Total comments: 3

Patch Set 3 : Fix inline installer test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -13 lines) Patch
M chrome/browser/extensions/webstore_standalone_installer.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/webstore_standalone_installer.cc View 1 2 7 chunks +14 lines, -13 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
tmdiep
I noticed this problem while testing https://codereview.chromium.org/298303002. Please see the bug for more details. If ...
6 years, 6 months ago (2014-05-30 00:44:08 UTC) #1
asargent_no_longer_on_chrome
https://codereview.chromium.org/298133007/diff/20001/chrome/browser/extensions/webstore_standalone_installer.cc File chrome/browser/extensions/webstore_standalone_installer.cc (right): https://codereview.chromium.org/298133007/diff/20001/chrome/browser/extensions/webstore_standalone_installer.cc#newcode262 chrome/browser/extensions/webstore_standalone_installer.cc:262: this, Inside OnWebstoreParseSuccess, we can end up calling into ...
6 years, 6 months ago (2014-05-30 05:03:03 UTC) #2
tmdiep
https://codereview.chromium.org/298133007/diff/20001/chrome/browser/extensions/webstore_standalone_installer.cc File chrome/browser/extensions/webstore_standalone_installer.cc (right): https://codereview.chromium.org/298133007/diff/20001/chrome/browser/extensions/webstore_standalone_installer.cc#newcode262 chrome/browser/extensions/webstore_standalone_installer.cc:262: this, On 2014/05/30 05:03:03, Antony Sargent wrote: > Inside ...
6 years, 6 months ago (2014-05-30 05:34:32 UTC) #3
tmdiep
https://codereview.chromium.org/298133007/diff/20001/chrome/browser/extensions/webstore_standalone_installer.cc File chrome/browser/extensions/webstore_standalone_installer.cc (right): https://codereview.chromium.org/298133007/diff/20001/chrome/browser/extensions/webstore_standalone_installer.cc#newcode262 chrome/browser/extensions/webstore_standalone_installer.cc:262: this, On 2014/05/30 05:34:32, tmdiep wrote: > I can ...
6 years, 6 months ago (2014-05-30 06:25:26 UTC) #4
asargent_no_longer_on_chrome
Oops, sorry this fell off my radar. lgtm
6 years, 6 months ago (2014-06-03 23:18:35 UTC) #5
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 6 months ago (2014-06-04 01:14:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/298133007/20001
6 years, 6 months ago (2014-06-04 01:16:30 UTC) #7
tmdiep
The CQ bit was unchecked by tmdiep@chromium.org
6 years, 6 months ago (2014-06-04 04:19:02 UTC) #8
tmdiep
After analyzing the inline install test failure, I see what you meant earlier - sorry! ...
6 years, 6 months ago (2014-06-04 11:24:11 UTC) #9
asargent_no_longer_on_chrome
lgtm On Jun 4, 2014 4:24 AM, <tmdiep@chromium.org> wrote: > After analyzing the inline install ...
6 years, 6 months ago (2014-06-05 05:23:00 UTC) #10
asargent_no_longer_on_chrome
lgtm
6 years, 6 months ago (2014-06-05 05:24:55 UTC) #11
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 6 months ago (2014-06-05 22:01:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/298133007/80001
6 years, 6 months ago (2014-06-05 22:03:22 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device_ninja on tryserver.chromium ...
6 years, 6 months ago (2014-06-05 22:54:54 UTC) #14
commit-bot: I haz the power
6 years, 6 months ago (2014-06-05 23:19:55 UTC) #15
Message was sent while issue was closed.
Change committed as 275270

Powered by Google App Engine
This is Rietveld 408576698