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

Unified Diff: chromecast/browser/cast_browser_main_parts.cc

Issue 1871253002: aura: Require explicit ownership of the Env instance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot.merge 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
« no previous file with comments | « chrome/test/base/view_event_test_platform_part_default.cc ('k') | content/browser/browser_main_loop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_browser_main_parts.cc
diff --git a/chromecast/browser/cast_browser_main_parts.cc b/chromecast/browser/cast_browser_main_parts.cc
index f07ca2628502032e30290bebf1fc2294292bfd99..e904f784305cee5ceb7a00f8d04e1e30411fe160 100644
--- a/chromecast/browser/cast_browser_main_parts.cc
+++ b/chromecast/browser/cast_browser_main_parts.cc
@@ -79,7 +79,6 @@
// header, but is exported to allow injecting the overlay-composited
// callback.
#include "chromecast/graphics/cast_screen.h"
-#include "ui/aura/env.h"
#include "ui/gfx/screen.h"
#include "ui/ozone/platform/cast/overlay_manager_cast.h" // nogncheck
#endif
@@ -485,10 +484,6 @@ void CastBrowserMainParts::PostMainMessageLoopRun() {
cast_browser_process_->metrics_service_client()->Finalize();
cast_browser_process_.reset();
-#if defined(USE_AURA)
- aura::Env::DeleteInstance();
-#endif
-
DeregisterKillOnAlarm();
#endif
}
« no previous file with comments | « chrome/test/base/view_event_test_platform_part_default.cc ('k') | content/browser/browser_main_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698