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

Unified Diff: monitor_reconfigure_main.cc

Issue 3433013: monitor_reconfig: Add missing call to CommandLine::Init(). (Closed) Base URL: http://git.chromium.org/git/monitor_reconfig.git
Patch Set: Created 10 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: monitor_reconfigure_main.cc
diff --git a/monitor_reconfigure_main.cc b/monitor_reconfigure_main.cc
index 7d96cfb8b9dbd1fce2eed23f64dec95131e8a118..b73e7eaa3ada95cef569f0a38d4c4f6b4dabe2fd 100644
--- a/monitor_reconfigure_main.cc
+++ b/monitor_reconfigure_main.cc
@@ -8,6 +8,7 @@
#include <cstdio>
#include <cstdlib>
+#include "base/command_line.h"
#include "base/logging.h"
#include "base/string_util.h"
@@ -124,6 +125,7 @@ bool MonitorReconfigureMain::SetScreenResolution(
} // end namespace monitor_reconfig
int main(int argc, char** argv) {
+ CommandLine::Init(argc, argv);
logging::InitLogging(NULL,
logging::LOG_ONLY_TO_SYSTEM_DEBUG_LOG,
logging::DONT_LOCK_LOG_FILE,
« 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