Reviewed by Darin.
[WebKit-https.git] / WebCore / khtml / ecma / kjs_binding.cpp
index 521968603cd5900fa17f9fd355f0ad6faf72ef9b..9d2409fef32a9a3f5951927f15760a7303ccaa67 100644 (file)
@@ -153,7 +153,7 @@ QPtrDict<DOMObject> & ScriptInterpreter::domObjects()
 
 QPtrDict< QPtrDict<DOMObject> > & ScriptInterpreter::domObjectsPerDocument()
 {
-  if (!staticDomObjects) {
+  if (!staticDomObjectsPerDocument) {
     staticDomObjectsPerDocument = new QPtrDict<QPtrDict<DOMObject> >();
     staticDomObjectsPerDocument->setAutoDelete(true);
   }