commit | 95082a6a47108c4e20a77cc224172a293065ab05 | [log] [tgz] |
---|---|---|
author | skyostil <[email protected]> | Fri Jun 05 19:53:07 2015 |
committer | Commit bot <[email protected]> | Fri Jun 05 19:53:37 2015 |
tree | c34e72f82cf4742097c92a500fabd9af0f251cef | |
parent | 4e95f763c7f52664c94373b7d9fcc0ed96c7f019 [diff] [blame] |
content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs This patch was mostly autogenerated with https://codereview.chromium.org/1010073002/. BUG=465354 [email protected] Committed: https://crrev.com/422456f9d53f0bf936a64f21a1463fd0abd3df84 Cr-Commit-Position: refs/heads/master@{#333081} Review URL: https://codereview.chromium.org/1159623009 Cr-Commit-Position: refs/heads/master@{#333112}
diff --git a/content/browser/histogram_synchronizer.cc b/content/browser/histogram_synchronizer.cc index 9b15b73..5851790 100644 --- a/content/browser/histogram_synchronizer.cc +++ b/content/browser/histogram_synchronizer.cc
@@ -6,10 +6,12 @@ #include "base/bind.h" #include "base/lazy_instance.h" +#include "base/location.h" #include "base/logging.h" #include "base/metrics/histogram.h" #include "base/metrics/histogram_delta_serialization.h" #include "base/pickle.h" +#include "base/single_thread_task_runner.h" #include "base/threading/thread.h" #include "base/threading/thread_restrictions.h" #include "content/browser/histogram_controller.h" @@ -319,7 +321,7 @@ const base::Closure& callback) { if (callback.is_null() || !thread) return; - thread->PostTask(FROM_HERE, callback); + thread->task_runner()->PostTask(FROM_HERE, callback); } int HistogramSynchronizer::GetNextAvailableSequenceNumber(