Remove default initializtion of BirthPlace in Tracked.

Previously, MessageLoop::PostTask set the BirthPlace of the Task object
(subclass of Tracked), which would decrement the counter for the
Location("NoFunctionName", "NeedToSetBirthPlace", -1) Birth, and replace
it with a more appropriate Location provided by the FROM_HERE argument.

With the MessageLoop restructuring in r82300, tracking of Births is moved
up from the Task object into the MessageLoop::PendingTask structure. The
side-effect is that the default birth is never decremented, and we double
count each task's creation.

This default Birth is effectively a count of "tasks that were created, but
not posted" without a stored reference to location, so removing it is
the simplest fix to the double counting.

BUG=none
TEST=about:tasks looks sane.

Review URL: http://codereview.chromium.org/7029038

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90290 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 7d550fa06fba0db3c9a036e4554c6adc0b53953a
2 files changed
tree: 291ccdccc931b525fb11b453307c2e847bf798a2
  1. base/
  2. build/
  3. ipc/
  4. testing/
  5. third_party/