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

Unified Diff: ui/views/controls/tabbed_pane/tabbed_pane.cc

Issue 2734113006: "Bootstrap" a toolkit-views Typography spec. (Closed)
Patch Set: Rebase (conflict in layout_delegate.h due to r457774) Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/controls/tabbed_pane/tabbed_pane.cc
diff --git a/ui/views/controls/tabbed_pane/tabbed_pane.cc b/ui/views/controls/tabbed_pane/tabbed_pane.cc
index 8a8c7536043eda2bb722ffed691d9af57742c7b8..98aa69deb8b67c7d0193c3393ebccba54bd187d1 100644
--- a/ui/views/controls/tabbed_pane/tabbed_pane.cc
+++ b/ui/views/controls/tabbed_pane/tabbed_pane.cc
@@ -49,11 +49,7 @@ const int kHarmonyTabStripTabHeight = 40;
class TabLabel : public Label {
public:
explicit TabLabel(const base::string16& tab_title)
- : Label(tab_title,
- ui::ResourceBundle::GetSharedInstance().GetFontListWithDelta(
- ui::kLabelFontSizeDelta,
- gfx::Font::NORMAL,
- kActiveWeight)) {}
+ : Label(tab_title, style::CONTEXT_LABEL, style::STYLE_TAB_ACTIVE) {}
// Label:
void GetAccessibleNodeData(ui::AXNodeData* data) override {

Powered by Google App Engine
This is Rietveld 408576698