Remove unused forcedDetector property. Bug 713825, r=bz

This commit is contained in:
Simon Montagu 2012-01-24 11:52:05 +02:00
parent 01326f327c
commit b94da4bbfd
5 changed files with 0 additions and 17 deletions

View File

@ -6029,7 +6029,6 @@ function BrowserSetForcedCharacterSet(aCharset)
function BrowserSetForcedDetector(doReload)
{
gBrowser.docShell.forcedDetector = true;
if (doReload)
BrowserReloadWithFlags(nsIWebNavigation.LOAD_FLAGS_CHARSET_CHANGE);
}

View File

@ -1896,18 +1896,6 @@ NS_IMETHODIMP nsDocShell::GetForcedCharset(nsIAtom ** aResult)
return NS_OK;
}
NS_IMETHODIMP nsDocShell::SetForcedDetector(bool aForced)
{
// XXX write me
return NS_OK;
}
NS_IMETHODIMP nsDocShell::GetForcedDetector(bool * aResult)
{
// XXX write me
return NS_OK;
}
NS_IMETHODIMP nsDocShell::SetParentCharset(nsIAtom * aCharset)
{
mParentCharset = aCharset;

View File

@ -592,8 +592,6 @@ interface nsIDocShell : nsISupports
*/
attribute nsIAtom forcedCharset;
attribute boolean forcedDetector;
/**
* In a child docshell, this is the charset of the parent docshell
*/

View File

@ -654,7 +654,6 @@
<getter><![CDATA[
return {
forcedCharset : this._charset,
forcedDetector : false,
parentCharset : "",
parentCharsetSource : 0
}

View File

@ -731,7 +731,6 @@ function BrowserSetForcedCharacterSet(aCharset)
// instead of BrowserReloadWithFlags()
function BrowserSetForcedDetector(doReload)
{
gBrowser.docShell.forcedDetector = true;
if (doReload)
{
if (isHistoryEnabled()) {