| Index: cc/trees/single_thread_proxy.h
|
| diff --git a/cc/trees/single_thread_proxy.h b/cc/trees/single_thread_proxy.h
|
| index 4c1eac04ac3b6c6640cf5da92269f5e216565e0e..bdc1030cbb3f94976d2b49bef9cb4c0428dac0ee 100644
|
| --- a/cc/trees/single_thread_proxy.h
|
| +++ b/cc/trees/single_thread_proxy.h
|
| @@ -176,13 +176,13 @@ class CC_EXPORT SingleThreadProxy : public Proxy,
|
| class DebugScopedSetImplThread {
|
| public:
|
| explicit DebugScopedSetImplThread(Proxy* proxy) : proxy_(proxy) {
|
| -#if DCHECK_IS_ON
|
| +#if DCHECK_IS_ON()
|
| previous_value_ = proxy_->impl_thread_is_overridden_;
|
| proxy_->SetCurrentThreadIsImplThread(true);
|
| #endif
|
| }
|
| ~DebugScopedSetImplThread() {
|
| -#if DCHECK_IS_ON
|
| +#if DCHECK_IS_ON()
|
| proxy_->SetCurrentThreadIsImplThread(previous_value_);
|
| #endif
|
| }
|
| @@ -199,13 +199,13 @@ class DebugScopedSetImplThread {
|
| class DebugScopedSetMainThread {
|
| public:
|
| explicit DebugScopedSetMainThread(Proxy* proxy) : proxy_(proxy) {
|
| -#if DCHECK_IS_ON
|
| +#if DCHECK_IS_ON()
|
| previous_value_ = proxy_->impl_thread_is_overridden_;
|
| proxy_->SetCurrentThreadIsImplThread(false);
|
| #endif
|
| }
|
| ~DebugScopedSetMainThread() {
|
| -#if DCHECK_IS_ON
|
| +#if DCHECK_IS_ON()
|
| proxy_->SetCurrentThreadIsImplThread(previous_value_);
|
| #endif
|
| }
|
|
|