зеркало из https://github.com/mozilla/pjs.git
change the dump code to dump in UTF8 so we can reduce unnecessary assertion when we turn on nsString
data corruption code
This commit is contained in:
Родитель
c8017ec30e
Коммит
9bbe9a03ae
|
@ -1088,7 +1088,7 @@ NS_IMETHODIMP GlobalWindowImpl::GetScrollY(PRInt32* aScrollY)
|
|||
|
||||
NS_IMETHODIMP GlobalWindowImpl::Dump(const nsString& aStr)
|
||||
{
|
||||
char *cstr = aStr.ToNewCString();
|
||||
char *cstr = aStr.ToNewUTF8String();
|
||||
|
||||
#ifdef XP_MAC
|
||||
// have to convert \r to \n so that printing to the console works
|
||||
|
|
Загрузка…
Ссылка в новой задаче