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

Unified Diff: base/string_util_unittest.cc

Issue 160191: Move base::va_copy from a function to a macro. (Closed)
Patch Set: Created 11 years, 5 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
« base/port.h ('K') | « base/string_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/string_util_unittest.cc
diff --git a/base/string_util_unittest.cc b/base/string_util_unittest.cc
index 496895042a294b604d6b158fea99aa818152cdd1..35c58d6668ac805a643244721ac1e13a59b9b35b 100644
--- a/base/string_util_unittest.cc
+++ b/base/string_util_unittest.cc
@@ -1302,7 +1302,7 @@ static void VariableArgsFunc(const char* format, ...) {
va_start(org, format);
va_list dup;
- base::va_copy(dup, org);
+ GG_VA_COPY(dup, org);
int i1 = va_arg(org, int);
int j1 = va_arg(org, int);
char* s1 = va_arg(org, char*);
« base/port.h ('K') | « base/string_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698