diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-09 01:24:38 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-09 01:24:38 +0000 |
commit | 42d8d7589361548f7a1db01181f1eeb8fdb06a73 (patch) | |
tree | 66e671312cbb40ed8e3576d9bad2c309e1703166 /chrome/browser/performance_monitor | |
parent | 5f23ec878bf75e53d549f53dc6040e83fd47b32f (diff) | |
download | chromium_src-42d8d7589361548f7a1db01181f1eeb8fdb06a73.zip chromium_src-42d8d7589361548f7a1db01181f1eeb8fdb06a73.tar.gz chromium_src-42d8d7589361548f7a1db01181f1eeb8fdb06a73.tar.bz2 |
Rename NOTIFICATION_RENDERER_PROCESS_HANG to NOTIFICATION_RENDER_WIDGET_HOST_HANG as it is being sent out by the RenderWidgetHost.
BUG=none
TEST=no change
Review URL: https://codereview.chromium.org/64683003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234063 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/performance_monitor')
-rw-r--r-- | chrome/browser/performance_monitor/performance_monitor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/performance_monitor/performance_monitor.cc b/chrome/browser/performance_monitor/performance_monitor.cc index aa96324..c539d09 100644 --- a/chrome/browser/performance_monitor/performance_monitor.cc +++ b/chrome/browser/performance_monitor/performance_monitor.cc @@ -239,7 +239,7 @@ void PerformanceMonitor::RegisterForNotifications() { content::NotificationService::AllSources()); // Crashes - registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_HANG, + registrar_.Add(this, content::NOTIFICATION_RENDER_WIDGET_HOST_HANG, content::NotificationService::AllSources()); registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_CLOSED, content::NotificationService::AllSources()); @@ -594,7 +594,7 @@ void PerformanceMonitor::Observe(int type, content::Details<Extension>(details).ptr()); break; } - case content::NOTIFICATION_RENDERER_PROCESS_HANG: { + case content::NOTIFICATION_RENDER_WIDGET_HOST_HANG: { std::string url; content::RenderWidgetHost* widget = content::Source<content::RenderWidgetHost>(source).ptr(); |