Index: chrome/browser/media/cast_remoting_connector.cc |
diff --git a/chrome/browser/media/cast_remoting_connector.cc b/chrome/browser/media/cast_remoting_connector.cc |
index 20b6ddb2d1c11ca54f2e9fc0b0b7f143ff2d87a7..6b52d3f22a15f3051a635d7f5b322e686f0aea22 100644 |
--- a/chrome/browser/media/cast_remoting_connector.cc |
+++ b/chrome/browser/media/cast_remoting_connector.cc |
@@ -146,7 +146,7 @@ CastRemotingConnector* CastRemotingConnector::Get( |
media_router::MediaSourceForTabContentRemoting( |
SessionTabHelper::IdForTab(contents)) |
.id()); |
- contents->SetUserData(kUserDataKey, connector); |
+ contents->SetUserData(kUserDataKey, base::WrapUnique(connector)); |
} |
return connector; |
} |