diff options
Diffstat (limited to 'views/controls/tabbed_pane/native_tabbed_pane_win.cc')
-rw-r--r-- | views/controls/tabbed_pane/native_tabbed_pane_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/tabbed_pane/native_tabbed_pane_win.cc b/views/controls/tabbed_pane/native_tabbed_pane_win.cc index da09579..e694090 100644 --- a/views/controls/tabbed_pane/native_tabbed_pane_win.cc +++ b/views/controls/tabbed_pane/native_tabbed_pane_win.cc @@ -310,7 +310,7 @@ void NativeTabbedPaneWin::CreateNativeControl() { NativeControlCreated(tab_control); // Add tabs that are already added if any. - if (tab_views_.size() > 0) { + if (!tab_views_.empty()) { InitializeTabs(); if (selected_index_ >= 0) DoSelectTabAt(selected_index_, false); |