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

Unified Diff: components/exo/wayland/clients/motion_events.cc

Issue 2512033004: exo: Fix benchmark-interval flag in motion events client. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/wayland/clients/motion_events.cc
diff --git a/components/exo/wayland/clients/motion_events.cc b/components/exo/wayland/clients/motion_events.cc
index 43bc6af6b3c50860f9c933c1ae44740efaafff28..37cdb045c911222a61f9266798afaf1a5b4d444c 100644
--- a/components/exo/wayland/clients/motion_events.cc
+++ b/components/exo/wayland/clients/motion_events.cc
@@ -869,9 +869,9 @@ int main(int argc, char* argv[]) {
size_t benchmark_interval_ms = 5000; // 5 seconds.
if (command_line->HasSwitch(switches::kBenchmarkInterval) &&
(!base::StringToSizeT(
- command_line->GetSwitchValueASCII(switches::kBenchmark),
+ command_line->GetSwitchValueASCII(switches::kBenchmarkInterval),
&benchmark_interval_ms))) {
- LOG(ERROR) << "Invalid value for " << switches::kBenchmark;
+ LOG(ERROR) << "Invalid value for " << switches::kBenchmarkInterval;
return 1;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698