| Index: content/browser/power_save_blocker_x11.cc
|
| diff --git a/content/browser/power_save_blocker_x11.cc b/content/browser/power_save_blocker_x11.cc
|
| index 58e1e49990b17071b692bae11360afe84789dc59..9cd6113e3f06ddf427460b82a291c5bb085de971 100644
|
| --- a/content/browser/power_save_blocker_x11.cc
|
| +++ b/content/browser/power_save_blocker_x11.cc
|
| @@ -157,7 +157,7 @@ void PowerSaveBlockerImpl::Delegate::CleanUp() {
|
| }
|
|
|
| void PowerSaveBlockerImpl::Delegate::InitOnUIThread() {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| base::AutoLock lock(lock_);
|
| api_ = SelectAPI();
|
| if (enqueue_apply_ && api_ != NO_API) {
|
| @@ -171,7 +171,7 @@ void PowerSaveBlockerImpl::Delegate::InitOnUIThread() {
|
| }
|
|
|
| void PowerSaveBlockerImpl::Delegate::ApplyBlock(DBusAPI api) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::FILE);
|
| DCHECK(!bus_.get()); // ApplyBlock() should only be called once.
|
|
|
| dbus::Bus::Options options;
|
| @@ -251,7 +251,7 @@ void PowerSaveBlockerImpl::Delegate::ApplyBlock(DBusAPI api) {
|
| }
|
|
|
| void PowerSaveBlockerImpl::Delegate::RemoveBlock(DBusAPI api) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::FILE);
|
| DCHECK(bus_.get()); // RemoveBlock() should only be called once.
|
|
|
| scoped_refptr<dbus::ObjectProxy> object_proxy;
|
|
|