chore: replace absl::optional<T> with std::optional<T> (#40928)
* chore: replace absl::optional<T> with std::optional<T> * IWYU
This commit is contained in:
parent
fac964ac0d
commit
892c9d78a3
129 changed files with 419 additions and 397 deletions
|
@ -266,7 +266,7 @@ std::u16string Browser::GetApplicationNameForProtocol(const GURL& url) {
|
|||
return app_display_name;
|
||||
}
|
||||
|
||||
bool Browser::SetBadgeCount(absl::optional<int> count) {
|
||||
bool Browser::SetBadgeCount(std::optional<int> count) {
|
||||
DockSetBadgeText(!count.has_value() || count.value() != 0
|
||||
? badging::BadgeManager::GetBadgeString(count)
|
||||
: "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue