| Index: components/proximity_auth/screenlock_bridge.cc
|
| diff --git a/components/proximity_auth/screenlock_bridge.cc b/components/proximity_auth/screenlock_bridge.cc
|
| index d3996b17b05b600282c4d390c98dabf7ea3cd4ba..0663dda5403d95d930094b26cc68b3107d51014a 100644
|
| --- a/components/proximity_auth/screenlock_bridge.cc
|
| +++ b/components/proximity_auth/screenlock_bridge.cc
|
| @@ -117,13 +117,13 @@ ScreenlockBridge* ScreenlockBridge::Get() {
|
| }
|
|
|
| void ScreenlockBridge::SetLockHandler(LockHandler* lock_handler) {
|
| - DCHECK(lock_handler_ == nullptr || lock_handler == nullptr);
|
| -
|
| // Don't notify observers if there is no change -- i.e. if the screen was
|
| // already unlocked, and is remaining unlocked.
|
| if (lock_handler == lock_handler_)
|
| return;
|
|
|
| + DCHECK(lock_handler_ == nullptr || lock_handler == nullptr);
|
| +
|
| // TODO(isherman): If |lock_handler| is null, then |lock_handler_| might have
|
| // been freed. Cache the screen type rather than querying it below.
|
| LockHandler::ScreenType screen_type;
|
|
|