Index: content/public/renderer/render_view_observer_tracker.h |
diff --git a/content/public/renderer/render_view_observer_tracker.h b/content/public/renderer/render_view_observer_tracker.h |
index a05ed9429235a8462b2ecf53abefc76b46b3a227..a5eaefc7ca27cf5e224391205cd4f2f46e454e11 100644 |
--- a/content/public/renderer/render_view_observer_tracker.h |
+++ b/content/public/renderer/render_view_observer_tracker.h |
@@ -53,16 +53,18 @@ class RenderViewObserverTracker { |
private: |
const RenderView* render_view_; |
- static base::LazyInstance< |
- std::map<const RenderView*, RenderViewObserverTracker<T>*>> |
- render_view_map_; |
+ static typename base::LazyInstance< |
+ std::map<const RenderView*, RenderViewObserverTracker<T>*>>:: |
+ DestructorAtExit render_view_map_; |
DISALLOW_COPY_AND_ASSIGN(RenderViewObserverTracker<T>); |
}; |
template <class T> |
-base::LazyInstance<std::map<const RenderView*, RenderViewObserverTracker<T>*>> |
- RenderViewObserverTracker<T>::render_view_map_ = LAZY_INSTANCE_INITIALIZER; |
+typename base::LazyInstance< |
+ std::map<const RenderView*, RenderViewObserverTracker<T>*>>:: |
+ DestructorAtExit RenderViewObserverTracker<T>::render_view_map_ = |
+ LAZY_INSTANCE_INITIALIZER; |
} // namespace content |