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

Unified Diff: chrome/browser/renderer_host/render_widget_host.cc

Issue 28046: Use string for Histogram names since these are all ASCII anyway wide-characte... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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
Index: chrome/browser/renderer_host/render_widget_host.cc
===================================================================
--- chrome/browser/renderer_host/render_widget_host.cc (revision 10269)
+++ chrome/browser/renderer_host/render_widget_host.cc (working copy)
@@ -418,7 +418,7 @@
if (is_repaint_ack) {
repaint_ack_pending_ = false;
TimeDelta delta = TimeTicks::Now() - repaint_start_time_;
- UMA_HISTOGRAM_TIMES(L"MPArch.RWH_RepaintDelta", delta);
+ UMA_HISTOGRAM_TIMES("MPArch.RWH_RepaintDelta", delta);
}
DCHECK(!params.bitmap_rect.IsEmpty());
@@ -475,7 +475,7 @@
// Log the time delta for processing a paint message.
TimeDelta delta = TimeTicks::Now() - paint_start;
- UMA_HISTOGRAM_TIMES(L"MPArch.RWH_OnMsgPaintRect", delta);
+ UMA_HISTOGRAM_TIMES("MPArch.RWH_OnMsgPaintRect", delta);
}
void RenderWidgetHost::OnMsgScrollRect(
@@ -521,13 +521,13 @@
// Log the time delta for processing a scroll message.
TimeDelta delta = TimeTicks::Now() - scroll_start;
- UMA_HISTOGRAM_TIMES(L"MPArch.RWH_OnMsgScrollRect", delta);
+ UMA_HISTOGRAM_TIMES("MPArch.RWH_OnMsgScrollRect", delta);
}
void RenderWidgetHost::OnMsgInputEventAck(const IPC::Message& message) {
// Log the time delta for processing an input event.
TimeDelta delta = TimeTicks::Now() - input_event_start_time_;
- UMA_HISTOGRAM_TIMES(L"MPArch.RWH_InputEventDelta", delta);
+ UMA_HISTOGRAM_TIMES("MPArch.RWH_InputEventDelta", delta);
// Cancel pending hung renderer checks since the renderer is responsive.
StopHangMonitorTimeout();
« no previous file with comments | « chrome/browser/renderer_host/buffered_resource_handler.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698