Index: ui/aura/bench/bench_main.cc |
diff --git a/ui/aura/bench/bench_main.cc b/ui/aura/bench/bench_main.cc |
index aa4ea4a3f52e49d79eda4c70ab3067b503c2746b..f3a058a533aa8269f1a0eb677b4507696ce23284 100644 |
--- a/ui/aura/bench/bench_main.cc |
+++ b/ui/aura/bench/bench_main.cc |
@@ -170,8 +170,8 @@ class WebGLBench : public BenchCompositorObserver { |
int width = 0; |
int height = 0; |
if (!webgl_size.empty()) { |
- std::vector<std::string> split_size; |
- base::SplitString(webgl_size, 'x', &split_size); |
+ std::vector<std::string> split_size = base::SplitString( |
+ webgl_size, "x", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
if (split_size.size() == 2) { |
width = atoi(split_size[0].c_str()); |
height = atoi(split_size[1].c_str()); |