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

Unified Diff: ui/views/examples/example_combobox_model.h

Issue 2869803005: Support finer grained font weights on Mac. (Closed)
Patch Set: fix 10.11 Created 3 years, 7 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/examples/example_combobox_model.h
diff --git a/ui/views/examples/example_combobox_model.h b/ui/views/examples/example_combobox_model.h
index 79d4c0c4452d492dd2fdf61183cffc8e7f1ec543..8f6c389a4ae9b834b0f9867b990b05d1b4731b4f 100644
--- a/ui/views/examples/example_combobox_model.h
+++ b/ui/views/examples/example_combobox_model.h
@@ -13,7 +13,7 @@ namespace examples {
class ExampleComboboxModel : public ui::ComboboxModel {
public:
- ExampleComboboxModel(const char** strings, int count);
+ ExampleComboboxModel(const char* const* strings, int count);
~ExampleComboboxModel() override;
// ui::ComboboxModel:
@@ -21,8 +21,8 @@ class ExampleComboboxModel : public ui::ComboboxModel {
base::string16 GetItemAt(int index) override;
private:
- const char** strings_;
- int count_;
+ const char* const* const strings_;
+ const int count_;
DISALLOW_COPY_AND_ASSIGN(ExampleComboboxModel);
};

Powered by Google App Engine
This is Rietveld 408576698