mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
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:
parent
04ac06eb61
commit
d3bf42983e
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user