| Index: chrome/browser/browser_url_handler.cc
|
| diff --git a/chrome/browser/browser_url_handler.cc b/chrome/browser/browser_url_handler.cc
|
| index 4234ea278acecc86fbed9e52138156010ef282ca..b9c81478e0dfef26150b9d344f5b5bc740bab1a5 100644
|
| --- a/chrome/browser/browser_url_handler.cc
|
| +++ b/chrome/browser/browser_url_handler.cc
|
| @@ -8,8 +8,9 @@
|
| #include "chrome/browser/browser_about_handler.h"
|
| #include "chrome/browser/extensions/extension_web_ui.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| +#include "chrome/browser/ui/webui/chrome_web_ui_factory.h"
|
| #include "chrome/common/url_constants.h"
|
| -#include "content/browser/webui/web_ui_factory.h"
|
| +#include "content/browser/webui/web_ui.h"
|
| #include "googleurl/src/gurl.h"
|
|
|
| // Handles rewriting view-source URLs for what we'll actually load.
|
| @@ -61,7 +62,7 @@ static bool ReverseViewSource(GURL* url, Profile* profile) {
|
|
|
| // Handles rewriting Web UI URLs.
|
| static bool HandleWebUI(GURL* url, Profile* profile) {
|
| - if (!WebUIFactory::UseWebUIForURL(profile, *url))
|
| + if (!ChromeWebUIFactory::GetInstance()->UseWebUIForURL(profile, *url))
|
| return false;
|
|
|
| // Special case the new tab page. In older versions of Chrome, the new tab
|
|
|