Commit 3db85d7b authored by Brett Wilson's avatar Brett Wilson Committed by Commit Bot

Remove redundant SchedulePaint call.

The TabIcon will schedule its own painting when its state changes.

This call was left from a previous iteration where it did not do so.

Bug: 778461
Change-Id: I351f2c2e6e11c9ab942c98ccb3e002fd8cbfb67f
Reviewed-on: https://chromium-review.googlesource.com/804239Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Brett Wilson <brettw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521098}
parent 2eaf68bc
...@@ -314,7 +314,6 @@ void Tab::SetData(TabRendererData data) { ...@@ -314,7 +314,6 @@ void Tab::SetData(TabRendererData data) {
icon_->SetAttention(TabIcon::AttentionType::kBlockedWebContents, icon_->SetAttention(TabIcon::AttentionType::kBlockedWebContents,
data_.blocked); data_.blocked);
} }
icon_->SchedulePaint();
base::string16 title = data_.title; base::string16 title = data_.title;
if (title.empty()) { if (title.empty()) {
......
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