diff options
author | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-30 23:05:27 +0000 |
---|---|---|
committer | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-30 23:05:27 +0000 |
commit | 16808e0de6bf05d814563d4d6712e52d6edaef54 (patch) | |
tree | 60a990e6035887ee14cbf7ee7fbd12a6dbb38558 /base/message_pump_win.h | |
parent | 7644b965283ce3fe0374d5af51ee9710ab86f8db (diff) | |
download | chromium_src-16808e0de6bf05d814563d4d6712e52d6edaef54.zip chromium_src-16808e0de6bf05d814563d4d6712e52d6edaef54.tar.gz chromium_src-16808e0de6bf05d814563d4d6712e52d6edaef54.tar.bz2 |
Cleans up our autorelease handling so that we don't create a layered
autorelease pool in our run loop source if there is one already on the stack
above us. This allows Cocoa to clean up all the objects at the same time as it
expects to do. There may be more "interesting" code that can be removed now
that this is in. Initially we were going to implement it by checking the
nesting levels of the runloops, but it turns out by the time sendEvent is
called at the upper level we are already out of the "CFRunloopRun" call so
our nesting count isn't a valid indicator of our state.
TEST=1) See bug 25857. 2) Start up. Open 3+ windows. Quit.
BUG=25857
Review URL: http://codereview.chromium.org/343024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30647 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_pump_win.h')
0 files changed, 0 insertions, 0 deletions