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

Issue 14081007: Fix memory leaks in tests caused by not tearing down TemplateUrlService correctly. (Closed)

Created:
7 years, 8 months ago by Cait (Slow)
Modified:
7 years, 8 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su
Visibility:
Public.

Description

Fix memory leaks in tests caused by not tearing down TemplateUrlService correctly. These were introduced in https://codereview.chromium.org/13932025/. R=pkasting@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194498

Patch Set 1 #

Patch Set 2 : Call Shutdown from dtor if not already called #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M chrome/browser/search_engines/template_url_service.cc View 1 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Cait (Slow)
PTAL. This fixes mem-leaks caused by not calling the newly added Shutdown() method on TemplateURLService ...
7 years, 8 months ago (2013-04-16 19:18:04 UTC) #1
Peter Kasting
This feels fragile. Should we do something like call Shutdown() from the destructor (and NULL ...
7 years, 8 months ago (2013-04-16 19:38:50 UTC) #2
Cait (Slow)
On 2013/04/16 19:38:50, Peter Kasting wrote: > This feels fragile. Should we do something like ...
7 years, 8 months ago (2013-04-16 19:57:13 UTC) #3
Peter Kasting
LGTM
7 years, 8 months ago (2013-04-16 20:03:35 UTC) #4
Cait (Slow)
7 years, 8 months ago (2013-04-17 00:26:13 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r194498 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698