             if (!styleDeclaration)
             {
                 styleDeclaration = new CSSStyleDeclaration();
-                styleDeclaration.mx_internal::setStyle(styleProp, newValue);
+                styleDeclaration.setLocalStyle(styleProp, newValue);
 
                 // If inheritingStyles is undefined, then this object is being
                 // initialized and we haven't yet generated the proto chain.  To

            }
            else
            {
                styleDeclaration.mx_internal::setStyle(styleProp, newValue);
            }
        }
        else

            if (!styleDeclaration)
            {
                styleDeclaration = new CSSStyleDeclaration();
                styleDeclaration.setLocalStyle(styleProp, newValue);

                // If nonInheritingStyles is undefined, then this object is being
                // initialized and we haven't yet generated the proto chain.  To
