179822: Flash4 / Flash5 / Shockwave and other plugins crash.

Give an unicode option when SubClassing the widget window. /r=peterl, /sr=kin
This commit is contained in:
yokoyama%netscape.com 2002-12-04 01:49:29 +00:00
Родитель 2580cbbceb
Коммит 16767a6b43
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -218,7 +218,8 @@ struct nsWidgetInitData {
mListenForResizes(PR_FALSE),
mWindowType(eWindowType_child),
mBorderStyle(eBorderStyle_default),
mContentType(1) // nsIDocShellTreeItem::typeContent
mContentType(1), // nsIDocShellTreeItem::typeContent
mUnicode(PR_TRUE)
{
}
@ -228,6 +229,7 @@ struct nsWidgetInitData {
nsWindowType mWindowType;
nsBorderStyle mBorderStyle;
PRUint32 mContentType; // from nsIDocShellTreeItem.idl content types - typeChrome, typeContent, etc.
PRPackedBool mUnicode;
};
/**