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

Unified Diff: ui/message_center/views/bounded_label_unittest.cc

Issue 1845343005: Makes MaterialDesignController initialization explicit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 8 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/message_center/views/bounded_label_unittest.cc
diff --git a/ui/message_center/views/bounded_label_unittest.cc b/ui/message_center/views/bounded_label_unittest.cc
index 7c3a6a6bf1fa390f59f9cce8df8a660f4309e85d..0657a77d674f5dc90788b3a2592705d459eda497 100644
--- a/ui/message_center/views/bounded_label_unittest.cc
+++ b/ui/message_center/views/bounded_label_unittest.cc
@@ -12,6 +12,7 @@
#include "ui/gfx/font_list.h"
#include "ui/gfx/text_utils.h"
#include "ui/views/controls/label.h"
+#include "ui/views/test/views_test_base.h"
namespace message_center {
@@ -19,7 +20,7 @@ namespace test {
/* Test fixture ***************************************************************/
-class BoundedLabelTest : public testing::Test {
+class BoundedLabelTest : public views::ViewsTestBase {
public:
BoundedLabelTest() {
digit_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16("0"), font_list_);

Powered by Google App Engine
This is Rietveld 408576698