ozone: fix HDPMLegacy - do the PF after overlays, also clear old overlays
[chromium-blink-merge.git] / base / tracking_info.cc
blobc02b2f4758502c9a9d65f90e45bad64cc66310fa
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/tracking_info.h"
7 #include <stddef.h>
8 #include "base/tracked_objects.h"
10 namespace base {
12 TrackingInfo::TrackingInfo()
13 : birth_tally(NULL) {
16 TrackingInfo::TrackingInfo(
17 const tracked_objects::Location& posted_from,
18 base::TimeTicks delayed_run_time)
19 : birth_tally(
20 tracked_objects::ThreadData::TallyABirthIfActive(posted_from)),
21 time_posted(tracked_objects::ThreadData::Now()),
22 delayed_run_time(delayed_run_time) {
25 TrackingInfo::~TrackingInfo() {}
27 } // namespace base