diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-25 09:14:11 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-25 09:14:11 +0000 |
commit | 164363ea9e45860ae7a3181ce68e4d3727623c0f (patch) | |
tree | 2c0452e4664caced0a9ed400243b3ddf8276f41c /chrome/browser/cocoa/draggable_button.h | |
parent | 109fe8709c67f28929e30a05393c233dc41c3c35 (diff) | |
download | chromium_src-164363ea9e45860ae7a3181ce68e4d3727623c0f.zip chromium_src-164363ea9e45860ae7a3181ce68e4d3727623c0f.tar.gz chromium_src-164363ea9e45860ae7a3181ce68e4d3727623c0f.tar.bz2 |
Mac: Fix use-after-free in translate infobar options menu.
The "About Translate" command opens a new tab which closes the infobar, we where trying to update the options menu which acccessed an already released object.
The fix is to match Windows behavior and only rebuild the options menu when clicked.
Thanks to Rohit for diagnosing the problem!
BUG=42030
TEST=repro in bug description.
Review URL: http://codereview.chromium.org/1756006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45553 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/draggable_button.h')
0 files changed, 0 insertions, 0 deletions