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

Unified Diff: ui/aura/env.cc

Issue 962393002: Add TestWebContentsFactory to content/public/test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Scott's Created 5 years, 10 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 | « ui/aura/env.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/env.cc
diff --git a/ui/aura/env.cc b/ui/aura/env.cc
index d205ae9827ad208a91fbcad11746b3cf7c442d30..4d2db40d6f1cd33136a5ce42d450a142cc8767e2 100644
--- a/ui/aura/env.cc
+++ b/ui/aura/env.cc
@@ -43,6 +43,11 @@ Env* Env::GetInstance() {
}
// static
+Env* Env::GetInstanceDontCreate() {
+ return lazy_tls_ptr.Pointer()->Get();
+}
+
+// static
void Env::DeleteInstance() {
delete lazy_tls_ptr.Pointer()->Get();
}
« no previous file with comments | « ui/aura/env.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698