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

Unified Diff: chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel_unittest.cc

Issue 2734113006: "Bootstrap" a toolkit-views Typography spec. (Closed)
Patch Set: Rebase (conflict in layout_delegate.h due to r457774) Created 3 years, 9 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/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.

Powered by Google App Engine
This is Rietveld 408576698