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

Unified Diff: chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc

Issue 598013003: Added views::ViewModelT<T>, a type-safe template version of ViewModel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@appsgridview-static-casts
Patch Set: Created 6 years, 3 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: chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc
diff --git a/chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc b/chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc
index 88a83cec65fb8545d2f2c31ab1e0340098eb8d45..a25b1e07d2833104c86ec9805bb49be959c1f739 100644
--- a/chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc
+++ b/chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc
@@ -13,7 +13,7 @@ StackedTabStripLayout::StackedTabStripLayout(const gfx::Size& size,
int padding,
int stacked_padding,
int max_stacked_count,
- views::ViewModel* view_model)
+ views::ViewModel<Tab>* view_model)
: size_(size),
padding_(padding),
stacked_padding_(stacked_padding),

Powered by Google App Engine
This is Rietveld 408576698