diff --git a/docshell/base/nsWebShell.cpp b/docshell/base/nsWebShell.cpp index ef8635cb3f03..2b279b01e639 100644 --- a/docshell/base/nsWebShell.cpp +++ b/docshell/base/nsWebShell.cpp @@ -2010,7 +2010,7 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec, * inside a *non-browser* window. Note this mechanism s'd go away once * we have the protocol registry and window manager available */ - if (isMail || !isBrowser) { + if (isMail) { //Ask the container to load the appropriate component for the URL. if (root) { diff --git a/webshell/src/nsWebShell.cpp b/webshell/src/nsWebShell.cpp index ef8635cb3f03..2b279b01e639 100644 --- a/webshell/src/nsWebShell.cpp +++ b/webshell/src/nsWebShell.cpp @@ -2010,7 +2010,7 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec, * inside a *non-browser* window. Note this mechanism s'd go away once * we have the protocol registry and window manager available */ - if (isMail || !isBrowser) { + if (isMail) { //Ask the container to load the appropriate component for the URL. if (root) {