Index: chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel_unittest.cc |
diff --git a/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel_unittest.cc b/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel_unittest.cc |
index 821b49027022b8cc2c0be092b22d4da05a6066cf..f7784560152056d9b00faa04170a9a381ed24033 100644 |
--- a/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel_unittest.cc |
+++ b/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel_unittest.cc |
@@ -23,6 +23,7 @@ |
#include "testing/gmock/include/gmock/gmock-matchers.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "ui/base/l10n/l10n_util.h" |
+#include "ui/views/test/test_views_delegate.h" |
namespace { |
@@ -56,7 +57,8 @@ class AppInfoPermissionsPanelTest : public testing::Test { |
// We need the UI thread in order to construct UI elements in the view. |
content::TestBrowserThreadBundle thread_bundle_; |
- TestingProfile profile_; |
+ views::TestViewsDelegate views_delegate_; |
+ TestingProfile profile_; // Needs BrowserThread::UI. |
}; |
// Tests that an app with no permissions is treated correctly. |