Chromium Code Reviews| Index: ui/views/test/test_views_delegate_aura.cc |
| diff --git a/ui/views/test/test_views_delegate_aura.cc b/ui/views/test/test_views_delegate_aura.cc |
| index 6571971210c661720f8ab13142bdd4d8554f9c39..8acf5d7fa55375d5d82558af9f8aaf6841e2828d 100644 |
| --- a/ui/views/test/test_views_delegate_aura.cc |
| +++ b/ui/views/test/test_views_delegate_aura.cc |
| @@ -18,7 +18,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: Prefer calling MakeUnique to using raw new
kylix_rd
2017/04/04 20:28:23
Done.
|
| TestViewsDelegate::~TestViewsDelegate() { |
| } |
| @@ -59,8 +60,4 @@ ui::ContextFactoryPrivate* TestViewsDelegate::GetContextFactoryPrivate() { |
| return nullptr; |
| } |
| -const TypographyProvider& TestViewsDelegate::GetTypographyProvider() const { |
| - return typography_provider_; |
| -} |
| - |
| } // namespace views |