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

Unified Diff: chromecast/browser/cast_browser_main_parts.cc

Issue 1293013002: aura: Require explicit ownership of the Env instance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 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_chromeos.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 cfffa672ffffc694d4593d6f49a7a68758c900ce..bf409cdcc7299743530227c815fb0bdb0c4545e6 100644
--- a/chromecast/browser/cast_browser_main_parts.cc
+++ b/chromecast/browser/cast_browser_main_parts.cc
@@ -60,7 +60,6 @@
#if defined(USE_AURA)
#include "chromecast/graphics/cast_screen.h"
-#include "ui/aura/env.h"
#include "ui/gfx/screen.h"
#endif
@@ -390,10 +389,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_chromeos.cc ('k') | content/browser/browser_main_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698