Index: cc/resources/prioritized_resource_manager.cc |
diff --git a/cc/resources/prioritized_resource_manager.cc b/cc/resources/prioritized_resource_manager.cc |
index 657c14f4ddffb9bae1faeb94cb0942cc65941f16..459844684912d0afb417667a83fb5d8cf4591c92 100644 |
--- a/cc/resources/prioritized_resource_manager.cc |
+++ b/cc/resources/prioritized_resource_manager.cc |
@@ -481,7 +481,7 @@ void PrioritizedResourceManager::EvictFirstBackingResource( |
} |
void PrioritizedResourceManager::AssertInvariants() { |
-#if DCHECK_IS_ON |
+#if DCHECK_IS_ON() |
DCHECK(proxy_->IsImplThread() && proxy_->IsMainThreadBlocked()); |
// If we hit any of these asserts, there is a bug in this class. To see |
@@ -540,7 +540,7 @@ void PrioritizedResourceManager::AssertInvariants() { |
DCHECK(backing->CanBeRecycledIfNotInExternalUse()); |
previous_backing = backing; |
} |
-#endif // DCHECK_IS_ON |
+#endif // DCHECK_IS_ON() |
} |
const Proxy* PrioritizedResourceManager::ProxyForDebug() const { |