I meant 8192 and typed 8092. r/sr/a=brendan
git-svn-id: svn://10.0.0.236/trunk@134831 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ea29e515ae
commit
669a5e13af
@ -1546,10 +1546,10 @@ CSSLoaderImpl::LoadSheet(SheetLoadData* aLoadData, StyleSheetState aSheetState)
|
||||
// This forces UA sheets to be UTF-8. We should really look for
|
||||
// @charset rules here via ReadSegments on the raw stream...
|
||||
|
||||
// 8092 is a nice magic number that happens to be what a lot of
|
||||
// 8192 is a nice magic number that happens to be what a lot of
|
||||
// other things use for buffer sizes.
|
||||
rv = converterStream->Init(stream, NS_LITERAL_STRING("UTF-8").get(),
|
||||
8092, PR_TRUE);
|
||||
8192, PR_TRUE);
|
||||
|
||||
if (NS_FAILED(rv)) {
|
||||
LOG_ERROR((" Failed to initialize converter stream"));
|
||||
|
||||
@ -1546,10 +1546,10 @@ CSSLoaderImpl::LoadSheet(SheetLoadData* aLoadData, StyleSheetState aSheetState)
|
||||
// This forces UA sheets to be UTF-8. We should really look for
|
||||
// @charset rules here via ReadSegments on the raw stream...
|
||||
|
||||
// 8092 is a nice magic number that happens to be what a lot of
|
||||
// 8192 is a nice magic number that happens to be what a lot of
|
||||
// other things use for buffer sizes.
|
||||
rv = converterStream->Init(stream, NS_LITERAL_STRING("UTF-8").get(),
|
||||
8092, PR_TRUE);
|
||||
8192, PR_TRUE);
|
||||
|
||||
if (NS_FAILED(rv)) {
|
||||
LOG_ERROR((" Failed to initialize converter stream"));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user