summaryrefslogtreecommitdiffstats
path: root/chrome/browser/jankometer.cc
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-22 00:51:32 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-22 00:51:32 +0000
commit91bb8a414b28f99731bc2b6866182987212f7000 (patch)
tree3366f18df5f89bc0da08a50480ecff6f3e9542e7 /chrome/browser/jankometer.cc
parent2d8b6b1c2febdac58458d171aa7b317f103b2f6f (diff)
downloadchromium_src-91bb8a414b28f99731bc2b6866182987212f7000.zip
chromium_src-91bb8a414b28f99731bc2b6866182987212f7000.tar.gz
chromium_src-91bb8a414b28f99731bc2b6866182987212f7000.tar.bz2
Build fix.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/jankometer.cc')
-rw-r--r--chrome/browser/jankometer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/jankometer.cc b/chrome/browser/jankometer.cc
index 9247484..c763c6e 100644
--- a/chrome/browser/jankometer.cc
+++ b/chrome/browser/jankometer.cc
@@ -12,6 +12,7 @@
#include "base/message_loop.h"
#include "base/ref_counted.h"
#include "base/stats_counters.h"
+#include "base/string_util.h"
#include "base/thread.h"
#include "base/time.h"
#include "base/watchdog.h"
@@ -53,7 +54,7 @@ class JankWatchdog : public Watchdog {
JankWatchdog(const TimeDelta& duration,
const std::string& thread_watched_name,
bool enabled)
- : Watchdog(duration, thread_watched_name, enabled),
+ : Watchdog(duration, ASCIIToWide(thread_watched_name), enabled),
thread_name_watched_(thread_watched_name),
alarm_count_(0) {
}