Chromium Code Reviews| Index: ui/views/test/test_views_delegate_mac.mm |
| diff --git a/ui/views/test/test_views_delegate_mac.mm b/ui/views/test/test_views_delegate_mac.mm |
| index f2f72a0ef9b7c5ed580d7b0066d0fc0f514ab4dc..e6021749c4b26c82396a88a77eaa7ceaf488954d 100644 |
| --- a/ui/views/test/test_views_delegate_mac.mm |
| +++ b/ui/views/test/test_views_delegate_mac.mm |
| @@ -12,7 +12,8 @@ TestViewsDelegate::TestViewsDelegate() |
| : context_factory_(nullptr), |
| context_factory_private_(nullptr), |
| use_desktop_native_widgets_(false), |
| - use_transparent_windows_(false) {} |
| + use_transparent_windows_(false), |
| + layout_delegate_(new ViewsLayoutDelegate()) {} |
|
Peter Kasting
2017/04/04 02:08:56
Nit: MakeUnique
kylix_rd
2017/04/04 20:28:23
Done.
|
| TestViewsDelegate::~TestViewsDelegate() { |
| } |
| @@ -38,8 +39,4 @@ ui::ContextFactoryPrivate* TestViewsDelegate::GetContextFactoryPrivate() { |
| return context_factory_private_; |
| } |
| -const TypographyProvider& TestViewsDelegate::GetTypographyProvider() const { |
| - return typography_provider_; |
| -} |
| - |
| } // namespace views |