Add a stub __cxa_demangle to disable LLVM's demangler.
[chromium-blink-merge.git] / components / copresence / handlers / audio / tick_clock_ref_counted.cc
blobeb84125cadf2b4e1809857838c87df91fddc2f8b
1 // Copyright 2014 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 "components/copresence/handlers/audio/tick_clock_ref_counted.h"
7 #include "base/time/tick_clock.h"
9 namespace copresence {
11 TickClockRefCounted::TickClockRefCounted(scoped_ptr<base::TickClock> clock)
12 : clock_(clock.Pass()) {}
14 TickClockRefCounted::TickClockRefCounted(base::TickClock* clock)
15 : clock_(make_scoped_ptr(clock)) {}
17 base::TimeTicks TickClockRefCounted::NowTicks() const {
18 return clock_->NowTicks();
21 TickClockRefCounted::~TickClockRefCounted() {}
23 } // namespace copresence