aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/EphyWrapper.cpp')
-rw-r--r--embed/mozilla/EphyWrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/mozilla/EphyWrapper.cpp b/embed/mozilla/EphyWrapper.cpp
index 7268c4a69..b08447145 100644
--- a/embed/mozilla/EphyWrapper.cpp
+++ b/embed/mozilla/EphyWrapper.cpp
@@ -714,7 +714,7 @@ nsresult EphyWrapper::CopyHistoryTo (EphyWrapper *dest)
return NS_OK;
}
-nsresult EphyWrapper::ForceCharacterSet (const char *charset)
+nsresult EphyWrapper::ForceEncoding (const char *encoding)
{
nsresult result;
@@ -730,7 +730,7 @@ nsresult EphyWrapper::ForceCharacterSet (const char *charset)
&result);
if (NS_FAILED(result) || !mdv) return NS_ERROR_FAILURE;
- result = mdv->SetForceCharacterSet (NS_ConvertUTF8toUCS2(charset).get());
+ result = mdv->SetForceCharacterSet (NS_ConvertUTF8toUCS2(encoding).get());
return result;
}