| Index: cc/test/scheduler_test_common.cc
|
| diff --git a/cc/test/scheduler_test_common.cc b/cc/test/scheduler_test_common.cc
|
| index c1aa200caabca1fd8474cc277ff9672b38444ec4..61e103ec3b3e348539d44bdb3fd28d9ed7ab9d37 100644
|
| --- a/cc/test/scheduler_test_common.cc
|
| +++ b/cc/test/scheduler_test_common.cc
|
| @@ -10,31 +10,6 @@ namespace cc {
|
|
|
| void FakeTimeSourceClient::OnTimerTick() { tick_called_ = true; }
|
|
|
| -FakeThread::FakeThread() { Reset(); }
|
| -
|
| -FakeThread::~FakeThread() {}
|
| -
|
| -void FakeThread::RunPendingTask() {
|
| - ASSERT_TRUE(pending_task_);
|
| - scoped_ptr<base::Closure> task = pending_task_.Pass();
|
| - task->Run();
|
| -}
|
| -
|
| -void FakeThread::PostTask(base::Closure cb) {
|
| - PostDelayedTask(cb, base::TimeDelta());
|
| -}
|
| -
|
| -void FakeThread::PostDelayedTask(base::Closure cb, base::TimeDelta delay) {
|
| - if (run_pending_task_on_overwrite_ && HasPendingTask())
|
| - RunPendingTask();
|
| -
|
| - ASSERT_FALSE(HasPendingTask());
|
| - pending_task_.reset(new base::Closure(cb));
|
| - pending_task_delay_ = delay.InMilliseconds();
|
| -}
|
| -
|
| -bool FakeThread::BelongsToCurrentThread() const { return true; }
|
| -
|
| void FakeTimeSource::SetClient(TimeSourceClient* client) { client_ = client; }
|
|
|
| void FakeTimeSource::SetActive(bool b) { active_ = b; }
|
|
|