Index: chrome/browser/ui/webui/inspect_ui.cc |
diff --git a/chrome/browser/ui/webui/inspect_ui.cc b/chrome/browser/ui/webui/inspect_ui.cc |
index fdebd22effbc78bc4256e203e535e3182be49249..287e230dc392f910fa8f5e5eb9a5670f3774355a 100644 |
--- a/chrome/browser/ui/webui/inspect_ui.cc |
+++ b/chrome/browser/ui/webui/inspect_ui.cc |
@@ -607,8 +607,8 @@ scoped_refptr<content::DevToolsAgentHost> InspectUI::FindTarget( |
void InspectUI::PopulateTargets(const std::string& source, |
const base::ListValue& targets) { |
- web_ui()->CallJavascriptFunctionUnsafe("populateTargets", |
- base::StringValue(source), targets); |
+ web_ui()->CallJavascriptFunctionUnsafe("populateTargets", base::Value(source), |
+ targets); |
} |
void InspectUI::PopulateAdditionalTargets(const base::ListValue& targets) { |