| Index: chrome/common/worker_thread_ticker.h
|
| ===================================================================
|
| --- chrome/common/worker_thread_ticker.h (revision 117824)
|
| +++ chrome/common/worker_thread_ticker.h (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 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.
|
|
|
| @@ -58,11 +58,11 @@
|
| }
|
|
|
| void set_tick_interval(int tick_interval) {
|
| - tick_interval_ = base::TimeDelta::FromMilliseconds(tick_interval);
|
| + tick_interval_ = tick_interval;
|
| }
|
|
|
| int tick_interval() const {
|
| - return tick_interval_.InMilliseconds();
|
| + return tick_interval_;
|
| }
|
|
|
| private:
|
| @@ -80,7 +80,7 @@
|
| bool is_running_;
|
|
|
| // The interval at which the callbacks are to be invoked
|
| - base::TimeDelta tick_interval_;
|
| + int tick_interval_;
|
|
|
| // A list that holds all registered callback interfaces
|
| TickHandlerListType tick_handler_list_;
|
|
|