mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Remove unused forcedDetector property. Bug 713825, r=bz
This commit is contained in:
parent
01326f327c
commit
b94da4bbfd
@ -6029,7 +6029,6 @@ function BrowserSetForcedCharacterSet(aCharset)
|
||||
|
||||
function BrowserSetForcedDetector(doReload)
|
||||
{
|
||||
gBrowser.docShell.forcedDetector = true;
|
||||
if (doReload)
|
||||
BrowserReloadWithFlags(nsIWebNavigation.LOAD_FLAGS_CHARSET_CHANGE);
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -654,7 +654,6 @@
|
||||
<getter><![CDATA[
|
||||
return {
|
||||
forcedCharset : this._charset,
|
||||
forcedDetector : false,
|
||||
parentCharset : "",
|
||||
parentCharsetSource : 0
|
||||
}
|
||||
|
@ -731,7 +731,6 @@ function BrowserSetForcedCharacterSet(aCharset)
|
||||
// instead of BrowserReloadWithFlags()
|
||||
function BrowserSetForcedDetector(doReload)
|
||||
{
|
||||
gBrowser.docShell.forcedDetector = true;
|
||||
if (doReload)
|
||||
{
|
||||
if (isHistoryEnabled()) {
|
||||
|
Loading…
Reference in New Issue
Block a user