--- a/webengine/osswebengine/WebCore/platform/TextEncodingRegistry.cpp Fri May 08 08:25:06 2009 +0300
+++ b/webengine/osswebengine/WebCore/platform/TextEncodingRegistry.cpp Fri Jul 03 15:54:40 2009 +0100
@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "config.h"
+
#include "TextEncodingRegistry.h"
#include "PlatformString.h"
@@ -248,4 +248,15 @@
return !didExtendTextCodecMaps;
}
+#if PLATFORM(SYMBIAN)
+void deleteEncodingMaps()
+{
+ delete textEncodingNameMap;
+ textEncodingNameMap = NULL;
+ delete textCodecMap;
+ textCodecMap = NULL;
+ didExtendTextCodecMaps = false;
+}
+#endif
+
} // namespace WebCore