diff --git a/dom/src/base/nsGlobalWindow.cpp b/dom/src/base/nsGlobalWindow.cpp index 42de952f491..1134312d150 100644 --- a/dom/src/base/nsGlobalWindow.cpp +++ b/dom/src/base/nsGlobalWindow.cpp @@ -4323,7 +4323,7 @@ GlobalWindowImpl::OpenInternal(const nsAString& aUrl, nsISupports *aExtraArgument, nsIDOMWindow **aReturn) { - nsCAutoString url; + nsXPIDLCString url; nsresult rv = NS_OK; *aReturn = nsnull;