Index: base/command_line.cc |
diff --git a/base/command_line.cc b/base/command_line.cc |
index 36ac88f12c18c78794768e5e881e45201506c3ef..2e21cd8b9f5917373dfe0a591aaea9d11e77297c 100644 |
--- a/base/command_line.cc |
+++ b/base/command_line.cc |
@@ -349,6 +349,11 @@ void CommandLine::AppendSwitchASCII(const std::string& switch_string, |
#endif |
} |
+void CommandLine::CopySwitchFrom(const CommandLine& source, |
+ const char* switch_name) { |
+ CopySwitchesFrom(source, &switch_name, 1); |
+} |
+ |
void CommandLine::CopySwitchesFrom(const CommandLine& source, |
const char* const switches[], |
size_t count) { |