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

Unified Diff: chrome/browser/ui/webui/inspect_ui.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
« no previous file with comments | « chrome/browser/ui/webui/help/help_handler.cc ('k') | chrome/browser/ui/webui/inspect_ui_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « chrome/browser/ui/webui/help/help_handler.cc ('k') | chrome/browser/ui/webui/inspect_ui_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698