Fix crash with last checkin.
* khtml/ecma/kjs_binding.cpp:
(ScriptInterpreter::domObjectsPerDocument): check the same
property we want to initialize.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@6853
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2004-06-15 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Darin.
+
+ Fix crash with last checkin.
+
+ * khtml/ecma/kjs_binding.cpp:
+ (ScriptInterpreter::domObjectsPerDocument): check the same
+ property we want to initialize.
+
2004-06-15 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
QPtrDict< QPtrDict<DOMObject> > & ScriptInterpreter::domObjectsPerDocument()
{
- if (!staticDomObjects) {
+ if (!staticDomObjectsPerDocument) {
staticDomObjectsPerDocument = new QPtrDict<QPtrDict<DOMObject> >();
staticDomObjectsPerDocument->setAutoDelete(true);
}