Index: components/renderer_context_menu/render_view_context_menu_observer.h |
diff --git a/components/renderer_context_menu/render_view_context_menu_observer.h b/components/renderer_context_menu/render_view_context_menu_observer.h |
index 586f978663a90c01d330ecdc1cf6b8802fab8d08..ccd052bf58cd5b5afd350374975947cefb8cbc25 100644 |
--- a/components/renderer_context_menu/render_view_context_menu_observer.h |
+++ b/components/renderer_context_menu/render_view_context_menu_observer.h |
@@ -59,12 +59,13 @@ struct ContextMenuParams; |
// } |
// |
// 4. Add this observer class to the RenderViewContextMenu class. (It is good |
-// to use scoped_ptr<> so Chrome can create its instances only when it needs.) |
+// to use std::unique_ptr<> so Chrome can create its instances only when it |
+// needs.) |
// |
// class RenderViewContextMenu { |
// ... |
// private: |
-// scoped_ptr<MyMenuObserver> my_menu_observer_; |
+// std::unique_ptr<MyMenuObserver> my_menu_observer_; |
// }; |
// |
// 5. Create its instance in InitMenu() and add it to the observer list of the |