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

Unified Diff: examples/ui/tile/tile_app.cc

Issue 2022983003: Roll base to 5e00da80f6adb7082d1c0e88d3274cf87cc43bc5 and tonic to f7acabb8fa6c91124486a41194eac3cd… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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 | « examples/native_run_app/native_run_app.cc ('k') | gin/modules/file_module_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/ui/tile/tile_app.cc
diff --git a/examples/ui/tile/tile_app.cc b/examples/ui/tile/tile_app.cc
index 989fa38cc63aea98013a27024e1e70ade558225f..bdd24ae2d74ebbe0a117eb2f9610b26c9a56cc81 100644
--- a/examples/ui/tile/tile_app.cc
+++ b/examples/ui/tile/tile_app.cc
@@ -42,7 +42,8 @@ bool TileApp::ParseParams(const std::string& connection_url,
std::string key_str(connection_url, key.begin, key.len);
std::string value_str(connection_url, value.begin, value.len);
if (key_str == "views") {
- base::SplitString(value_str, ',', &params->view_urls);
+ params->view_urls = base::SplitString(
+ value_str, ",", base::KEEP_WHITESPACE, base::SPLIT_WANT_NONEMPTY);
} else if (key_str == "vm") {
if (value_str == "any")
params->version_mode = TileParams::VersionMode::kAny;
« no previous file with comments | « examples/native_run_app/native_run_app.cc ('k') | gin/modules/file_module_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698