summaryrefslogtreecommitdiffstats
path: root/content/browser/debugger/devtools_http_handler_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/debugger/devtools_http_handler_impl.cc')
-rw-r--r--content/browser/debugger/devtools_http_handler_impl.cc18
1 files changed, 6 insertions, 12 deletions
diff --git a/content/browser/debugger/devtools_http_handler_impl.cc b/content/browser/debugger/devtools_http_handler_impl.cc
index 6661e94..6d0bc99 100644
--- a/content/browser/debugger/devtools_http_handler_impl.cc
+++ b/content/browser/debugger/devtools_http_handler_impl.cc
@@ -116,23 +116,17 @@ class TabContentsIDHelper : public content::WebContentsObserver {
int id_;
typedef std::map<int, TabContents*> IdToTabContentsMap;
- static base::LazyInstance<IdToTabContentsMap,
- base::LeakyLazyInstanceTraits<IdToTabContentsMap> >
+ static base::LazyInstance<IdToTabContentsMap>::Leaky
id_to_tabcontents_;
typedef std::map<TabContents*, int> TabContentsToIdMap;
- static base::LazyInstance<TabContentsToIdMap,
- base::LeakyLazyInstanceTraits<TabContentsToIdMap> >
+ static base::LazyInstance<TabContentsToIdMap>::Leaky
tabcontents_to_id_;
};
-base::LazyInstance<
- TabContentsIDHelper::IdToTabContentsMap,
- base::LeakyLazyInstanceTraits<TabContentsIDHelper::IdToTabContentsMap> >
- TabContentsIDHelper::id_to_tabcontents_ = LAZY_INSTANCE_INITIALIZER;
-base::LazyInstance<
- TabContentsIDHelper::TabContentsToIdMap,
- base::LeakyLazyInstanceTraits<TabContentsIDHelper::TabContentsToIdMap> >
- TabContentsIDHelper::tabcontents_to_id_ = LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<TabContentsIDHelper::IdToTabContentsMap>::Leaky
+ TabContentsIDHelper::id_to_tabcontents_ = LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<TabContentsIDHelper::TabContentsToIdMap>::Leaky
+ TabContentsIDHelper::tabcontents_to_id_ = LAZY_INSTANCE_INITIALIZER;
} // namespace