Rename base::Timer to base::TimerBase

https://chromium-review.googlesource.com/c/chromium/src/+/1124200
This commit is contained in:
Jeremy Apthorp 2018-10-02 12:05:51 -07:00
parent a7c687f160
commit c576d442fd
2 changed files with 1 additions and 2 deletions

View file

@ -73,7 +73,6 @@ AtomBrowserMainParts::AtomBrowserMainParts(
browser_(new Browser),
node_bindings_(NodeBindings::Create(NodeBindings::BROWSER)),
atom_bindings_(new AtomBindings(uv_default_loop())),
gc_timer_(true, true),
main_function_params_(params) {
DCHECK(!self_) << "Cannot have two AtomBrowserMainParts";
self_ = this;

View file

@ -125,7 +125,7 @@ class AtomBrowserMainParts : public brightray::BrowserMainParts {
std::unique_ptr<net_log::ChromeNetLog> net_log_;
std::unique_ptr<IconManager> icon_manager_;
base::Timer gc_timer_;
base::RepeatingTimer gc_timer_;
// List of callbacks should be executed before destroying JS env.
std::list<base::OnceClosure> destructors_;