summaryrefslogtreecommitdiffstats
path: root/mojo/runner/context.cc
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-06-24 13:54:45 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-24 20:55:38 +0000
commite6dae46fc681a8ad62f6937a6ac1cab3d51938a9 (patch)
tree2f75f6b3af2a17c8b1512b6881b00a8c9595ac96 /mojo/runner/context.cc
parent2ef675dbcd5943aad03184b67696330cc910568d (diff)
downloadchromium_src-e6dae46fc681a8ad62f6937a6ac1cab3d51938a9.zip
chromium_src-e6dae46fc681a8ad62f6937a6ac1cab3d51938a9.tar.gz
chromium_src-e6dae46fc681a8ad62f6937a6ac1cab3d51938a9.tar.bz2
Add more string_util functions to base namespace.
Moves ReplaceFirstSubstringAfterOffset. It also changes the find/replace arguments to be string pieces (normally these are constants). TBR=gauravsh@chromium.org for chromeos/network Review URL: https://codereview.chromium.org/1200393002 Cr-Commit-Position: refs/heads/master@{#335999}
Diffstat (limited to 'mojo/runner/context.cc')
-rw-r--r--mojo/runner/context.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mojo/runner/context.cc b/mojo/runner/context.cc
index 6eed031..e23c2b7 100644
--- a/mojo/runner/context.cc
+++ b/mojo/runner/context.cc
@@ -131,7 +131,7 @@ void InitContentHandlers(shell::ApplicationManager* manager,
// (to embed a comma into a string escape it using "\,")
// Whatever takes 'parameters' and constructs a CommandLine is failing to
// un-escape the commas, we need to move this fix to that file.
- ReplaceSubstringsAfterOffset(&handlers_spec, 0, "\\,", ",");
+ base::ReplaceSubstringsAfterOffset(&handlers_spec, 0, "\\,", ",");
#endif
std::vector<std::string> parts;