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

Unified Diff: base/test/test_process_killer_win.cc

Issue 12926002: Fix clang warning in test_process_killer_win.cc re taking address of temporary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: base/test/test_process_killer_win.cc
diff --git a/base/test/test_process_killer_win.cc b/base/test/test_process_killer_win.cc
index bc6e17ef436a2259e463834a87a29c58dad29440..df8d44e8399a740d9e284b1267b555eacc3331bd 100644
--- a/base/test/test_process_killer_win.cc
+++ b/base/test/test_process_killer_win.cc
@@ -159,7 +159,8 @@ namespace base {
bool KillAllNamedProcessesWithArgument(const string16& process_name,
const string16& argument) {
- return base::KillProcesses(process_name, 0, &ArgumentFilter(argument));
+ ArgumentFilter argument_filter(argument);
+ return base::KillProcesses(process_name, 0, &argument_filter);
}
} // namespace base
« 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