Index: chrome/browser/desktop_notification_handler.cc |
diff --git a/chrome/browser/desktop_notification_handler.cc b/chrome/browser/desktop_notification_handler.cc |
index da6f2e83de40b79be00f1b2c9c767e983561a06b..6c2702929e6d8868381df9f5b093b92cfcdc2524 100644 |
--- a/chrome/browser/desktop_notification_handler.cc |
+++ b/chrome/browser/desktop_notification_handler.cc |
@@ -13,14 +13,20 @@ |
#include "content/browser/renderer_host/render_view_host_delegate.h" |
#include "content/common/desktop_notification_messages.h" |
-DesktopNotificationHandler::DesktopNotificationHandler( |
- RenderViewHost* render_view_host) |
- : RenderViewHostObserver(render_view_host) { |
+// static |
+DesktopNotificationHandler* |
+DesktopNotificationHandler::Create(RenderViewHost* render_view_host) { |
+ return new DesktopNotificationHandler(render_view_host); |
} |
DesktopNotificationHandler::~DesktopNotificationHandler() { |
} |
+DesktopNotificationHandler::DesktopNotificationHandler( |
+ RenderViewHost* render_view_host) |
+ : RenderViewHostObserver(render_view_host) { |
+} |
+ |
bool DesktopNotificationHandler::OnMessageReceived( |
const IPC::Message& message) { |
bool handled = true; |