diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-16 19:55:09 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-16 19:55:09 +0000 |
commit | 0384f84e327d59dc88740fbd340eace5796ad74b (patch) | |
tree | 558967ec7adc19cd3523a819f80b4401f8baf560 /base/base.gyp | |
parent | f7faf2e6fcf95298aeba944f17c4d4fe9e32dbfd (diff) | |
download | chromium_src-0384f84e327d59dc88740fbd340eace5796ad74b.zip chromium_src-0384f84e327d59dc88740fbd340eace5796ad74b.tar.gz chromium_src-0384f84e327d59dc88740fbd340eace5796ad74b.tar.bz2 |
Clear obj_ before releasing the callee in RunnableMethod.
I mistakenly did a Cancel in the callee's destructor, which would reinvoke traits_.ReleaseCallee
Since this is a programming error, it's not a required change.
BUG=None
TEST=base_unittests --gtest_filter="TaskTest.TestCancelInDestructor"
Review URL: http://codereview.chromium.org/5886002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69451 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gyp')
-rw-r--r-- | base/base.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/base.gyp b/base/base.gyp index 70cf465..f4ddeb5 100644 --- a/base/base.gyp +++ b/base/base.gyp @@ -141,6 +141,7 @@ 'sys_string_conversions_mac_unittest.mm', 'sys_string_conversions_unittest.cc', 'task_queue_unittest.cc', + 'task_unittest.cc', 'thread_checker_unittest.cc', 'thread_collision_warner_unittest.cc', 'thread_local_storage_unittest.cc', |