Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Unified Diff: chrome/browser/tab_contents/background_contents.cc

Issue 6713082: Move WebUIFactory to chrome/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698