| Index: chrome/browser/tab_contents/background_contents.cc
|
| diff --git a/chrome/browser/tab_contents/background_contents.cc b/chrome/browser/tab_contents/background_contents.cc
|
| index 8c92a0eac917a14193738900e01b3d97a4db0907..45be2d14af289c84f29ea80c57b6514305719192 100644
|
| --- a/chrome/browser/tab_contents/background_contents.cc
|
| +++ b/chrome/browser/tab_contents/background_contents.cc
|
| @@ -8,6 +8,7 @@
|
| #include "chrome/browser/desktop_notification_handler.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/renderer_preferences_util.h"
|
| +#include "chrome/browser/ui/webui/web_ui_factory.h"
|
| #include "chrome/common/extensions/extension_constants.h"
|
| #include "chrome/common/render_messages_params.h"
|
| #include "chrome/common/url_constants.h"
|
| @@ -224,7 +225,8 @@ void BackgroundContents::CreateNewWindow(
|
| route_id,
|
| render_view_host_->process()->profile(),
|
| render_view_host_->site_instance(),
|
| - WebUIFactory::GetWebUIType(render_view_host_->process()->profile(), url_),
|
| + WebUIFactory::GetInstance()->GetWebUIType(
|
| + render_view_host_->process()->profile(), url_),
|
| this,
|
| params.window_container_type,
|
| params.frame_name);
|
|
|