summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/find_bar_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/find_bar_view.cc')
-rw-r--r--chrome/browser/views/find_bar_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/find_bar_view.cc b/chrome/browser/views/find_bar_view.cc
index 2307895..a065c1b 100644
--- a/chrome/browser/views/find_bar_view.cc
+++ b/chrome/browser/views/find_bar_view.cc
@@ -175,7 +175,7 @@ void FindBarView::ResetMatchCount() {
}
void FindBarView::ResetMatchCountBackground() {
- match_count_text_->SetBackground(
+ match_count_text_->set_background(
views::Background::CreateSolidBackground(kBackgroundColorMatch));
match_count_text_->SetColor(kTextColorMatchCount);
}
@@ -201,7 +201,7 @@ void FindBarView::UpdateMatchCount(int number_of_matches,
if (find_text_->GetText().empty() || number_of_matches > 0) {
ResetMatchCountBackground();
} else {
- match_count_text_->SetBackground(
+ match_count_text_->set_background(
views::Background::CreateSolidBackground(kBackgroundColorNoMatch));
match_count_text_->SetColor(kTextColorNoMatch);
MessageBeep(MB_OK);