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

Unified Diff: athena/main/athena_launcher.cc

Issue 597543002: Fix crash which occurs when combining AthenaTestBase tests and other tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | athena/main/athena_views_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/main/athena_launcher.cc
diff --git a/athena/main/athena_launcher.cc b/athena/main/athena_launcher.cc
index d0cd9c1e6331251ebd9a7c1a8b3b3a374f097542..ccf4de9cede7b898d7c57d9ac11c63c81ec26641 100644
--- a/athena/main/athena_launcher.cc
+++ b/athena/main/athena_launcher.cc
@@ -100,7 +100,7 @@ void StartAthenaEnv(scoped_refptr<base::TaskRunner> blocking_task_runner) {
ui::TouchFactory::SetTouchDeviceListFromCommandLine();
#endif
- views::ViewsDelegate::views_delegate = new AthenaViewsDelegate();
+ CreateAthenaViewsDelegate();
AthenaEnvState* env_state = new AthenaEnvState;
@@ -165,7 +165,7 @@ void ShutdownAthena() {
athena::ExtensionsDelegate::Shutdown();
athena::AthenaEnv::Shutdown();
- delete views::ViewsDelegate::views_delegate;
+ ShutdownAthenaViewsDelegate();
}
} // namespace athena
« no previous file with comments | « no previous file | athena/main/athena_views_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698