Commit be51cdcb authored by alemate's avatar alemate Committed by Commit bot

Fix leak: properly destroy TimezoneResolver instance.

BUG=416494
TEST=manual

Review URL: https://codereview.chromium.org/903733002

Cr-Commit-Position: refs/heads/master@{#315017}
parent 05f2ff8a
......@@ -126,6 +126,9 @@ chromeos::TimeZoneResolver* BrowserProcessPlatformPart::GetTimezoneResolver() {
}
void BrowserProcessPlatformPart::StartTearDown() {
// interactive_ui_tests check for memory leaks before this object is
// destroyed. So we need to destroy |timezone_resolver_| here.
timezone_resolver_.reset();
profile_helper_.reset();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment