Index: base/command_line.cc |
diff --git a/base/command_line.cc b/base/command_line.cc |
index 0237ffeb104509dfa91653cf231d2b90ba75dff7..530941e787fb52f9e6c68ad4e7e488d6d41ef409 100644 |
--- a/base/command_line.cc |
+++ b/base/command_line.cc |
@@ -167,12 +167,12 @@ CommandLine::~CommandLine() { |
} |
// static |
-void CommandLine::Init(int argc, const char* const* argv) { |
+bool CommandLine::Init(int argc, const char* const* argv) { |
if (current_process_commandline_) { |
// If this is intentional, Reset() must be called first. If we are using |
// the shared build mode, we have to share a single object across multiple |
// shared libraries. |
- return; |
+ return false; |
} |
current_process_commandline_ = new CommandLine(NO_PROGRAM); |
@@ -181,6 +181,8 @@ void CommandLine::Init(int argc, const char* const* argv) { |
#elif defined(OS_POSIX) |
current_process_commandline_->InitFromArgv(argc, argv); |
#endif |
+ |
+ return true; |
} |
// static |