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

Issue 8787007: Fix memory leak in unit_test SelectFileDialogExtensionTest (Closed)

Created:
9 years ago by James Cook
Modified:
9 years ago
Reviewers:
rginda
CC:
chromium-reviews, jstritar+watch_chromium.org, Aaron Boodman, Erik does not do reviews, mihaip+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix memory leak in unit_test SelectFileDialogExtensionTest I recently landed a patch that defers the SelectFileDialog::Listener callback until the file picker window is closed. The test needed to be updated to simulate closing the window so that the Listener would delete itself. BUG=none TEST=unit_tests, memory waterfall Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112830

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M chrome/browser/ui/views/select_file_dialog_extension_unittest.cc View 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
rginda
9 years ago (2011-12-03 00:34:54 UTC) #1
lgtm

Powered by Google App Engine
This is Rietveld 408576698