Index: chrome/browser/signin/easy_unlock_screenlock_state_handler_unittest.cc |
diff --git a/chrome/browser/signin/easy_unlock_screenlock_state_handler_unittest.cc b/chrome/browser/signin/easy_unlock_screenlock_state_handler_unittest.cc |
index cac45384d549761026e78b228b068b0e5007bfcd..4a449b1239eb4f1b9b3dd2008510c370d0e819bc 100644 |
--- a/chrome/browser/signin/easy_unlock_screenlock_state_handler_unittest.cc |
+++ b/chrome/browser/signin/easy_unlock_screenlock_state_handler_unittest.cc |
@@ -139,9 +139,7 @@ class TestLockHandler : public proximity_auth::ScreenlockBridge::LockHandler { |
} |
// Whether the custom icon is set. |
- bool HasCustomIcon() const { |
- return last_custom_icon_; |
- } |
+ bool HasCustomIcon() const { return !!last_custom_icon_; } |
// If custom icon is set, returns the icon's id. |
// If there is no icon, or if it doesn't have an id set, returns an empty |