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

Unified Diff: ui/views_content_client/views_content_client_main_parts_aura.cc

Issue 1297173003: Revert of 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
Index: ui/views_content_client/views_content_client_main_parts_aura.cc
diff --git a/ui/views_content_client/views_content_client_main_parts_aura.cc b/ui/views_content_client/views_content_client_main_parts_aura.cc
index fecc44d6655038e361e68ffb6b0f444ea05bb30b..5e1c69a295bb27710548d40df77ead1b2dd87da7 100644
--- a/ui/views_content_client/views_content_client_main_parts_aura.cc
+++ b/ui/views_content_client/views_content_client_main_parts_aura.cc
@@ -4,6 +4,7 @@
#include "ui/views_content_client/views_content_client_main_parts_aura.h"
+#include "ui/aura/env.h"
#include "ui/wm/core/wm_state.h"
namespace ui {
@@ -24,6 +25,8 @@
}
void ViewsContentClientMainPartsAura::PostMainMessageLoopRun() {
+ aura::Env::DeleteInstance();
+
ViewsContentClientMainParts::PostMainMessageLoopRun();
}
« no previous file with comments | « ui/views/run_all_unittests.cc ('k') | ui/views_content_client/views_content_client_main_parts_desktop_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698