Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Issue 137533011: Clean-up: Avoids unnecessary font list creation in views::Tab. (Closed)

Created:
6 years, 11 months ago by Yuki
Modified:
6 years, 11 months ago
Reviewers:
sadrul
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Clean-up: Avoids unnecessary font list creation in views::Tab. There is no need to derive(create) a new font list in views::Tab. Uses BaseFont and BoldFont. TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245250

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M ui/views/controls/tabbed_pane/tabbed_pane.cc View 2 chunks +5 lines, -5 lines 4 comments Download

Messages

Total messages: 8 (0 generated)
Yuki
Could you review this CL?
6 years, 11 months ago (2014-01-16 14:25:17 UTC) #1
sadrul
lgtm https://codereview.chromium.org/137533011/diff/1/ui/views/controls/tabbed_pane/tabbed_pane.cc File ui/views/controls/tabbed_pane/tabbed_pane.cc (right): https://codereview.chromium.org/137533011/diff/1/ui/views/controls/tabbed_pane/tabbed_pane.cc#newcode167 ui/views/controls/tabbed_pane/tabbed_pane.cc:167: title_->SetFontList(rb.GetFontList(ui::ResourceBundle::BaseFont)); Just so I understand: this (and the ...
6 years, 11 months ago (2014-01-16 14:29:40 UTC) #2
Yuki
https://codereview.chromium.org/137533011/diff/1/ui/views/controls/tabbed_pane/tabbed_pane.cc File ui/views/controls/tabbed_pane/tabbed_pane.cc (right): https://codereview.chromium.org/137533011/diff/1/ui/views/controls/tabbed_pane/tabbed_pane.cc#newcode167 ui/views/controls/tabbed_pane/tabbed_pane.cc:167: title_->SetFontList(rb.GetFontList(ui::ResourceBundle::BaseFont)); On 2014/01/16 14:29:41, sadrul wrote: > Just so ...
6 years, 11 months ago (2014-01-16 14:53:27 UTC) #3
sadrul
https://codereview.chromium.org/137533011/diff/1/ui/views/controls/tabbed_pane/tabbed_pane.cc File ui/views/controls/tabbed_pane/tabbed_pane.cc (right): https://codereview.chromium.org/137533011/diff/1/ui/views/controls/tabbed_pane/tabbed_pane.cc#newcode167 ui/views/controls/tabbed_pane/tabbed_pane.cc:167: title_->SetFontList(rb.GetFontList(ui::ResourceBundle::BaseFont)); On 2014/01/16 14:53:27, Yuki wrote: > On 2014/01/16 ...
6 years, 11 months ago (2014-01-16 15:17:31 UTC) #4
sadrul
On 2014/01/16 15:17:31, sadrul wrote: > https://codereview.chromium.org/137533011/diff/1/ui/views/controls/tabbed_pane/tabbed_pane.cc > File ui/views/controls/tabbed_pane/tabbed_pane.cc (right): > > https://codereview.chromium.org/137533011/diff/1/ui/views/controls/tabbed_pane/tabbed_pane.cc#newcode167 > ...
6 years, 11 months ago (2014-01-16 15:19:18 UTC) #5
Yuki
https://codereview.chromium.org/137533011/diff/1/ui/views/controls/tabbed_pane/tabbed_pane.cc File ui/views/controls/tabbed_pane/tabbed_pane.cc (right): https://codereview.chromium.org/137533011/diff/1/ui/views/controls/tabbed_pane/tabbed_pane.cc#newcode167 ui/views/controls/tabbed_pane/tabbed_pane.cc:167: title_->SetFontList(rb.GetFontList(ui::ResourceBundle::BaseFont)); On 2014/01/16 15:17:31, sadrul wrote: > On 2014/01/16 ...
6 years, 11 months ago (2014-01-16 15:31:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/137533011/1
6 years, 11 months ago (2014-01-16 16:12:31 UTC) #7
commit-bot: I haz the power
6 years, 11 months ago (2014-01-16 18:09:17 UTC) #8
Message was sent while issue was closed.
Change committed as 245250

Powered by Google App Engine
This is Rietveld 408576698