Index: chrome/browser/chromeos/device/input_service_proxy.cc |
diff --git a/chrome/browser/chromeos/device/input_service_proxy.cc b/chrome/browser/chromeos/device/input_service_proxy.cc |
index 3d27ab1498f03ca82f21c01861aef041fdf5387f..1a18319877c7dc65d5aa177e1b8abc70ce540685 100644 |
--- a/chrome/browser/chromeos/device/input_service_proxy.cc |
+++ b/chrome/browser/chromeos/device/input_service_proxy.cc |
@@ -20,7 +20,7 @@ BrowserThread::ID InputServiceProxy::thread_identifier_ = BrowserThread::FILE; |
class InputServiceProxy::ServiceObserver : public InputServiceLinux::Observer { |
public: |
- ServiceObserver() { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); } |
+ ServiceObserver() { DCHECK_CURRENTLY_ON(BrowserThread::UI); } |
~ServiceObserver() override { DCHECK(CalledOnValidThread()); } |
void Initialize(const base::WeakPtr<InputServiceProxy>& proxy) { |
@@ -89,7 +89,7 @@ InputServiceProxy::InputServiceProxy() |
task_runner_(BrowserThread::GetMessageLoopProxyForThread( |
thread_identifier_)), |
weak_factory_(this) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
task_runner_->PostTask( |
FROM_HERE, |
base::Bind(&InputServiceProxy::ServiceObserver::Initialize, |