Index: chrome/browser/ui/webui/media_router/media_router_ui.cc |
diff --git a/chrome/browser/ui/webui/media_router/media_router_ui.cc b/chrome/browser/ui/webui/media_router/media_router_ui.cc |
index 8e8e974063672381b1a29e92462627bebf12a0df..705823e7af5c5a4562b5926438fed6fc7089edb5 100644 |
--- a/chrome/browser/ui/webui/media_router/media_router_ui.cc |
+++ b/chrome/browser/ui/webui/media_router/media_router_ui.cc |
@@ -533,7 +533,7 @@ bool MediaRouterUI::UserSelectedTabMirroringForCurrentOrigin() const { |
const base::ListValue* origins = |
Profile::FromWebUI(web_ui())->GetPrefs()->GetList( |
prefs::kMediaRouterTabMirroringSources); |
- return origins->Find(base::StringValue(GetSerializedInitiatorOrigin())) != |
+ return origins->Find(base::Value(GetSerializedInitiatorOrigin())) != |
origins->end(); |
} |
@@ -543,12 +543,11 @@ void MediaRouterUI::RecordCastModeSelection(MediaCastMode cast_mode) { |
switch (cast_mode) { |
case MediaCastMode::DEFAULT: |
- update->Remove(base::StringValue(GetSerializedInitiatorOrigin()), |
- nullptr); |
+ update->Remove(base::Value(GetSerializedInitiatorOrigin()), nullptr); |
break; |
case MediaCastMode::TAB_MIRROR: |
update->AppendIfNotPresent( |
- base::MakeUnique<base::StringValue>(GetSerializedInitiatorOrigin())); |
+ base::MakeUnique<base::Value>(GetSerializedInitiatorOrigin())); |
break; |
case MediaCastMode::DESKTOP_MIRROR: |
// Desktop mirroring isn't domain-specific, so we don't record the |