зеркало из https://github.com/mozilla/gecko-dev.git
This is not part of the build (it doesn't build).
nsIConverterInputStream::Init now requires four parameters instead of three. To build this test, add uconv necko to requires.
This commit is contained in:
Родитель
d1da452d1f
Коммит
f8238d67cf
|
@ -87,7 +87,7 @@ int main(int argc, char** argv)
|
||||||
nsCOMPtr<nsIConverterInputStream> uin =
|
nsCOMPtr<nsIConverterInputStream> uin =
|
||||||
do_CreateInstance("@mozilla.org/intl/converter-input-stream;1", &rv);
|
do_CreateInstance("@mozilla.org/intl/converter-input-stream;1", &rv);
|
||||||
if (NS_SUCCEEDED(rv))
|
if (NS_SUCCEEDED(rv))
|
||||||
uin->Init(in, cset->get(), nsnull);
|
uin->Init(in, cset->get(), nsnull, PR_TRUE);
|
||||||
if (NS_OK != rv) {
|
if (NS_OK != rv) {
|
||||||
printf("can't create converter input stream: %d\n", rv);
|
printf("can't create converter input stream: %d\n", rv);
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче