diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-04 23:40:21 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-04 23:40:21 +0000 |
commit | ebc23d2a9540ff9dafab4f029bca31b99310d62d (patch) | |
tree | aaea2eb1dca4c381e810e524aa20ed3ceec0bf22 /chrome_frame/chrome_frame_automation.cc | |
parent | c5546e428d96d6587bbf17f047ab5741ffc2c77c (diff) | |
download | chromium_src-ebc23d2a9540ff9dafab4f029bca31b99310d62d.zip chromium_src-ebc23d2a9540ff9dafab4f029bca31b99310d62d.tar.gz chromium_src-ebc23d2a9540ff9dafab4f029bca31b99310d62d.tar.bz2 |
Use the LeakyLazyInstanceTraits in the ProxyFactory and metrics upload thread objects
in ChromeFrame as we don't control the threads on which these objects are instantiated
and thus cannot terminate them gracefully.
This should suppress the annoying DCHECKS during IE shutdown.
Review URL: http://codereview.chromium.org/4517002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65136 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_automation.cc')
-rw-r--r-- | chrome_frame/chrome_frame_automation.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc index 35f36e7..d50f26b 100644 --- a/chrome_frame/chrome_frame_automation.cc +++ b/chrome_frame/chrome_frame_automation.cc @@ -551,7 +551,7 @@ bool ProxyFactory::ReleaseAutomationServer(void* server_id, return true; } -Singleton<ProxyFactory> g_proxy_factory; +Singleton<ProxyFactory, LeakySingletonTraits<ProxyFactory> > g_proxy_factory; template <> struct RunnableMethodTraits<ChromeFrameAutomationClient> { static void RetainCallee(ChromeFrameAutomationClient* obj) {} |