Index: components/renderer_context_menu/render_view_context_menu_base.h |
diff --git a/components/renderer_context_menu/render_view_context_menu_base.h b/components/renderer_context_menu/render_view_context_menu_base.h |
index 52a4dff477ff2baa068e6b1bfc32c0a2ebc04130..1b0d83921fca6824b4705c4f4c46da582f2299b7 100644 |
--- a/components/renderer_context_menu/render_view_context_menu_base.h |
+++ b/components/renderer_context_menu/render_view_context_menu_base.h |
@@ -6,9 +6,9 @@ |
#define COMPONENTS_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_BASE_H_ |
#include <stddef.h> |
- |
#include <map> |
#include <string> |
+#include <utility> |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
@@ -121,7 +121,7 @@ class RenderViewContextMenuBase : public ui::SimpleMenuModel::Delegate, |
} |
void set_toolkit_delegate(scoped_ptr<ToolkitDelegate> delegate) { |
- toolkit_delegate_ = delegate.Pass(); |
+ toolkit_delegate_ = std::move(delegate); |
} |
ToolkitDelegate* toolkit_delegate() { |