Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3929)

Unified Diff: chrome/browser/ui/webui/options/media_devices_selection_handler.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/media_devices_selection_handler.cc
diff --git a/chrome/browser/ui/webui/options/media_devices_selection_handler.cc b/chrome/browser/ui/webui/options/media_devices_selection_handler.cc
index 445562d51654153fc0289219a70ee28de3f68240..df8b4597f0fd92cbb686c99d905b518f4a211585 100644
--- a/chrome/browser/ui/webui/options/media_devices_selection_handler.cc
+++ b/chrome/browser/ui/webui/options/media_devices_selection_handler.cc
@@ -130,8 +130,8 @@ void MediaDevicesSelectionHandler::UpdateDevicesMenu(
if (!devices.empty() && default_id.empty())
default_id = devices[0].id;
- base::StringValue default_value(default_id);
- base::StringValue type_value(device_type);
+ base::Value default_value(default_id);
+ base::Value type_value(device_type);
web_ui()->CallJavascriptFunctionUnsafe("ContentSettings.updateDevicesMenu",
type_value, device_list,
default_value);
« no previous file with comments | « chrome/browser/ui/webui/options/manage_profile_handler.cc ('k') | chrome/browser/ui/webui/options/password_manager_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698