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

Unified Diff: base/stats_table.cc

Issue 21032: Tracking HWND creation/deletion (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 | base/time.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | base/time.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698