summaryrefslogtreecommitdiffstats
path: root/media/base/pts_heap.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-19 16:57:03 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-19 16:57:03 +0000
commit8e38341c65360b48c32b88c58d6ac490516c0c0c (patch)
tree381bfdd42b59c1c4fa2368dec5ed479d83ab6f16 /media/base/pts_heap.h
parent0b97feeb41cb115158741daa975ec95d2e10cace (diff)
downloadchromium_src-8e38341c65360b48c32b88c58d6ac490516c0c0c.zip
chromium_src-8e38341c65360b48c32b88c58d6ac490516c0c0c.tar.gz
chromium_src-8e38341c65360b48c32b88c58d6ac490516c0c0c.tar.bz2
FBTF: Even more ctor/virtual deinlining.
(Only 424k off Linux debug .a files). BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3859003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63059 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/pts_heap.h')
-rw-r--r--media/base/pts_heap.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/media/base/pts_heap.h b/media/base/pts_heap.h
index 7795d68..11a3dbc 100644
--- a/media/base/pts_heap.h
+++ b/media/base/pts_heap.h
@@ -1,6 +1,6 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
-// source code is governed by a BSD-style license that can be found in the
-// LICENSE file.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
#ifndef MEDIA_BASE_PTS_HEAP_H_
#define MEDIA_BASE_PTS_HEAP_H_
@@ -36,10 +36,11 @@ namespace media {
class PtsHeap {
public:
- PtsHeap() {}
+ PtsHeap();
+ ~PtsHeap();
- void Push(const base::TimeDelta& pts) { queue_.push(pts); }
- void Pop() { queue_.pop(); }
+ void Push(const base::TimeDelta& pts);
+ void Pop();
const base::TimeDelta& Top() const { return queue_.top(); }
bool IsEmpty() const { return queue_.empty(); }