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

Unified Diff: chrome/test/base/view_event_test_base.cc

Issue 1159033008: Refactor ViewsDelegate singleton (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Destroy ash ViewsDelegate Created 5 years, 6 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
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | ui/app_list/views/app_list_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/view_event_test_base.cc
diff --git a/chrome/test/base/view_event_test_base.cc b/chrome/test/base/view_event_test_base.cc
index 0b007a3534712be547f9c5d329bfa1a2ffd02782..34c6eda3775b03d7d52e0dac3934fa2770d436ed 100644
--- a/chrome/test/base/view_event_test_base.cc
+++ b/chrome/test/base/view_event_test_base.cc
@@ -68,7 +68,6 @@ void ViewEventTestBase::SetUpTestCase() {
}
void ViewEventTestBase::SetUp() {
- views::ViewsDelegate::views_delegate = &views_delegate_;
ui::InitializeInputMethodForTesting();
// The ContextFactory must exist before any Compositors are created.
@@ -97,7 +96,6 @@ void ViewEventTestBase::TearDown() {
ui::TerminateContextFactoryForTests();
ui::ShutdownInputMethodForTesting();
- views::ViewsDelegate::views_delegate = NULL;
}
bool ViewEventTestBase::CanResize() const {
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | ui/app_list/views/app_list_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698