Bug 629794 - Error: _contentView is undefined in local browsers [r=stechz]

(re-apply fix that was accidentally reverted by merge with bug 628799)
This commit is contained in:
Matt Brubeck 2011-02-02 19:34:45 -08:00
parent 04ac06eb61
commit d3bf42983e

View File

@ -1019,7 +1019,8 @@
<body><![CDATA[
let rootView = this.getRootView();
rootView._setScale(scale);
rootView._contentView.scrollTo(x, y);
if ("_contentView" in rootView)
rootView._contentView.scrollTo(x, y);
]]></body>
</method>