summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_widget_host_view_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host_view_win.cc')
-rw-r--r--chrome/browser/renderer_host/render_widget_host_view_win.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host_view_win.cc b/chrome/browser/renderer_host/render_widget_host_view_win.cc
index ee63946..7934837 100644
--- a/chrome/browser/renderer_host/render_widget_host_view_win.cc
+++ b/chrome/browser/renderer_host/render_widget_host_view_win.cc
@@ -243,7 +243,7 @@ RenderWidgetHostViewWin::RenderWidgetHostViewWin(RenderWidgetHost* widget)
text_input_type_(ui::TEXT_INPUT_TYPE_NONE) {
render_widget_host_->SetView(this);
registrar_.Add(this,
- NotificationType::RENDERER_PROCESS_TERMINATED,
+ content::NOTIFICATION_RENDERER_PROCESS_TERMINATED,
NotificationService::AllSources());
}
@@ -1460,10 +1460,10 @@ void RenderWidgetHostViewWin::OnAccessibilityNotifications(
browser_accessibility_manager_->OnAccessibilityNotifications(params);
}
-void RenderWidgetHostViewWin::Observe(NotificationType type,
+void RenderWidgetHostViewWin::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
- DCHECK(type == NotificationType::RENDERER_PROCESS_TERMINATED);
+ DCHECK(type == content::NOTIFICATION_RENDERER_PROCESS_TERMINATED);
// Get the RenderProcessHost that posted this notification, and exit
// if it's not the one associated with this host view.