| Index: base/stats_table.cc
|
| ===================================================================
|
| --- base/stats_table.cc (revision 9111)
|
| +++ base/stats_table.cc (working copy)
|
| @@ -8,7 +8,9 @@
|
| #include "base/platform_thread.h"
|
| #include "base/process_util.h"
|
| #include "base/shared_memory.h"
|
| +#include "base/string_piece.h"
|
| #include "base/string_util.h"
|
| +#include "base/sys_string_conversions.h"
|
| #include "base/thread_local_storage.h"
|
|
|
| #if defined(OS_POSIX)
|
| @@ -167,8 +169,8 @@
|
| int max_threads,
|
| int max_counters) {
|
| scoped_ptr<StatsTablePrivate> priv(new StatsTablePrivate());
|
| -
|
| - if (!priv->shared_memory_.Create(UTF8ToWide(name), false, true, size))
|
| + if (!priv->shared_memory_.Create(base::SysUTF8ToWide(name), false, true,
|
| + size))
|
| return NULL;
|
| if (!priv->shared_memory_.Map(size))
|
| return NULL;
|
|
|