| Index: content/browser/webui/web_ui_factory.cc
|
| diff --git a/content/browser/webui/web_ui_factory.cc b/content/browser/webui/web_ui_factory.cc
|
| index 7468407e98e4f89b2ad778e3649ebccd4571085e..881c2a02fbb479b9076b6dc8e7c6638580f8b4ab 100644
|
| --- a/content/browser/webui/web_ui_factory.cc
|
| +++ b/content/browser/webui/web_ui_factory.cc
|
| @@ -95,10 +95,6 @@ WebUI* NewWebUI<ExtensionWebUI>(TabContents* contents, const GURL& url) {
|
| // when invoked for a particular tab - see NewWebUI<ExtensionWebUI>.
|
| static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile,
|
| const GURL& url) {
|
| - // Currently, any gears: URL means an HTML dialog.
|
| - if (url.SchemeIs(chrome::kGearsScheme))
|
| - return &NewWebUI<HtmlDialogUI>;
|
| -
|
| if (url.host() == chrome::kChromeUIDialogHost)
|
| return &NewWebUI<ConstrainedHtmlUI>;
|
|
|
| @@ -113,7 +109,7 @@ static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile,
|
| return &NewWebUI<ExternalHtmlDialogUI>;
|
|
|
| // This will get called a lot to check all URLs, so do a quick check of other
|
| - // schemes (gears was handled above) to filter out most URLs.
|
| + // schemes to filter out most URLs.
|
| if (!url.SchemeIs(chrome::kChromeDevToolsScheme) &&
|
| !url.SchemeIs(chrome::kChromeInternalScheme) &&
|
| !url.SchemeIs(chrome::kChromeUIScheme))
|
|
|