Index: chrome/browser/notifications/balloon_host.cc |
diff --git a/chrome/browser/notifications/balloon_host.cc b/chrome/browser/notifications/balloon_host.cc |
index c608150a8ff159930dd5adc9fec16419532b472d..6ded156b12db34cc634d487c330ac42cd8ffb6ff 100644 |
--- a/chrome/browser/notifications/balloon_host.cc |
+++ b/chrome/browser/notifications/balloon_host.cc |
@@ -12,6 +12,7 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/renderer_host/browser_render_process_host.h" |
#include "chrome/browser/renderer_preferences_util.h" |
+#include "chrome/browser/ui/webui/web_ui_factory.h" |
#include "chrome/common/bindings_policy.h" |
#include "chrome/common/render_messages.h" |
#include "chrome/common/url_constants.h" |
@@ -147,7 +148,7 @@ void BalloonHost::CreateNewWindow( |
route_id, |
balloon_->profile(), |
site_instance_.get(), |
- WebUIFactory::GetWebUIType(balloon_->profile(), |
+ WebUIFactory::GetInstance()->GetWebUIType(balloon_->profile(), |
balloon_->notification().content_url()), |
this, |
params.window_container_type, |