summaryrefslogtreecommitdiffstats
path: root/net/base/net_errors.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/net_errors.cc')
-rw-r--r--net/base/net_errors.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/base/net_errors.cc b/net/base/net_errors.cc
index 18f6661..6c0e09c 100644
--- a/net/base/net_errors.cc
+++ b/net/base/net_errors.cc
@@ -5,8 +5,7 @@
#include "net/base/net_errors.h"
#include "base/basictypes.h"
-
-#define STRINGIZE(x) #x
+#include "base/stringize_macros.h"
namespace net {
@@ -19,7 +18,7 @@ const char* ErrorToString(int error) {
switch (error) {
#define NET_ERROR(label, value) \
case ERR_ ## label: \
- return "net::" STRINGIZE(ERR_ ## label);
+ return "net::" STRINGIZE_NO_EXPANSION(ERR_ ## label);
#include "net/base/net_error_list.h"
#undef NET_ERROR
default: