diff options
author | etienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-21 19:58:45 +0000 |
---|---|---|
committer | etienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-21 19:58:45 +0000 |
commit | 27374e06f62f422d9e87065ac4c0cf6cc4c7d5d6 (patch) | |
tree | 8b270945fdc24691d8cf18244f372dbb65d7b67b /chrome_frame | |
parent | d8180e7aa00cdf0d663b50aa49b2915520615783 (diff) | |
download | chromium_src-27374e06f62f422d9e87065ac4c0cf6cc4c7d5d6.zip chromium_src-27374e06f62f422d9e87065ac4c0cf6cc4c7d5d6.tar.gz chromium_src-27374e06f62f422d9e87065ac4c0cf6cc4c7d5d6.tar.bz2 |
Remove useless string copy.
This issue was found by a linter.
R=tommi@chromium.org
BUG=
Review URL: https://chromiumcodereview.appspot.com/23375003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218813 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/chrome_launcher.cc | 2 |
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; } |