summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_launcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/chrome_launcher.cc')
-rw-r--r--chrome_frame/chrome_launcher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/chrome_launcher.cc b/chrome_frame/chrome_launcher.cc
index d9f3a9f..1a78407 100644
--- a/chrome_frame/chrome_launcher.cc
+++ b/chrome_frame/chrome_launcher.cc
@@ -132,7 +132,7 @@ bool IsValidCommandLine(const wchar_t* command_line) {
// doesn't get passed through to Chrome.
for (int i = 1; i < num_args; ++i) {
std::wstring trimmed_arg = TrimWhiteSpace(args[i]);
- if (!IsValidArgument(trimmed_arg.c_str())) {
+ if (!IsValidArgument(trimmed_arg)) {
success = false;
break;
}