Index: chrome/browser/ui/toolbar/media_router_action.h |
diff --git a/chrome/browser/ui/toolbar/media_router_action.h b/chrome/browser/ui/toolbar/media_router_action.h |
index 7bab99bfdac90d1f773495926b40f9b629e0bfcf..1348386ca34e8d93e071c980baa9ba45ebb6bb1f 100644 |
--- a/chrome/browser/ui/toolbar/media_router_action.h |
+++ b/chrome/browser/ui/toolbar/media_router_action.h |
@@ -27,7 +27,7 @@ class MediaRouterAction : public ToolbarActionViewController, |
~MediaRouterAction() override; |
// ToolbarActionViewController implementation. |
- const std::string& GetId() const override; |
+ std::string GetId() const override; |
void SetDelegate(ToolbarActionViewDelegate* delegate) override; |
gfx::Image GetIcon(content::WebContents* web_contents, |
const gfx::Size& size) override; |
@@ -69,8 +69,6 @@ class MediaRouterAction : public ToolbarActionViewController, |
const gfx::Image* GetCurrentIcon() const; |
- const std::string id_; |
- |
// Cached icons. |
// Indicates that the current Chrome profile is using at least one device. |
const gfx::Image media_router_active_icon_; |