From df58cedf1f1072aae6a34492a7ecc1dbc9137c16 Mon Sep 17 00:00:00 2001 From: "rickg%netscape.com" Date: Tue, 4 May 1999 06:38:37 +0000 Subject: [PATCH] update to nsString2 API git-svn-id: svn://10.0.0.236/trunk@30087 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsWebShell.cpp | 2 +- mozilla/webshell/src/nsWebShell.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index 8a306eaa00a..780124893f0 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/docshell/base/nsWebShell.cpp @@ -1211,7 +1211,7 @@ nsWebShell::AddChild(nsIWebShell* aChild) } mChildren.AppendElement(aChild); aChild->SetParent(this); - aChild->SetDefaultCharacterSet(mDefaultCharacterSet); + aChild->SetDefaultCharacterSet(mDefaultCharacterSet.GetUnicode()); NS_ADDREF(aChild); return NS_OK; diff --git a/mozilla/webshell/src/nsWebShell.cpp b/mozilla/webshell/src/nsWebShell.cpp index 8a306eaa00a..780124893f0 100644 --- a/mozilla/webshell/src/nsWebShell.cpp +++ b/mozilla/webshell/src/nsWebShell.cpp @@ -1211,7 +1211,7 @@ nsWebShell::AddChild(nsIWebShell* aChild) } mChildren.AppendElement(aChild); aChild->SetParent(this); - aChild->SetDefaultCharacterSet(mDefaultCharacterSet); + aChild->SetDefaultCharacterSet(mDefaultCharacterSet.GetUnicode()); NS_ADDREF(aChild); return NS_OK;