Commit c2670b2c authored by Kristyn Hamasaki's avatar Kristyn Hamasaki Committed by Commit Bot

Fix StyledLabel OnPropertyChanged call

Change-Id: I62b3a596f6437bade39a6800430e5ddb43bc4023
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1721511Reviewed-by: default avatarAllen Bauer <kylixrd@chromium.org>
Commit-Queue: Kristyn Hamasaki <khamasaki@google.com>
Cr-Commit-Position: refs/heads/master@{#682361}
parent e109f456
...@@ -233,7 +233,7 @@ void StyledLabel::SetAutoColorReadabilityEnabled(bool auto_color_readability) { ...@@ -233,7 +233,7 @@ void StyledLabel::SetAutoColorReadabilityEnabled(bool auto_color_readability) {
return; return;
auto_color_readability_enabled_ = auto_color_readability; auto_color_readability_enabled_ = auto_color_readability;
OnPropertyChanged(&auto_color_readability, kPropertyEffectsNone); OnPropertyChanged(&auto_color_readability_enabled_, kPropertyEffectsNone);
} }
void StyledLabel::SizeToFit(int max_width) { void StyledLabel::SizeToFit(int max_width) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment