Index: chrome/browser/ui/toolbar/toolbar_action_view_controller.h |
diff --git a/chrome/browser/ui/toolbar/toolbar_action_view_controller.h b/chrome/browser/ui/toolbar/toolbar_action_view_controller.h |
index 98b14ad8ab0f4abee4567d6f3d6d28b2d917ddf2..3b63c764f8fe09d9a3fad60c55de2a6ebe5ff6b6 100644 |
--- a/chrome/browser/ui/toolbar/toolbar_action_view_controller.h |
+++ b/chrome/browser/ui/toolbar/toolbar_action_view_controller.h |
@@ -31,7 +31,7 @@ class ToolbarActionViewController { |
// Returns the unique ID of this particular action. For extensions, this is |
// the extension id; for component actions, this is the name of the component. |
- virtual const std::string& GetId() const = 0; |
+ virtual std::string GetId() const = 0; |
// Sets the view delegate, which can handle most of the front-end logic. |
virtual void SetDelegate(ToolbarActionViewDelegate* delegate) = 0; |