$wnd.addEventListener(
"unload",
$entry(function() {
thiz.@org.rstudio.studio.client.rmarkdown.ui.RmdOutputPresenter::onClose()();
}),
<BUG>true);
}-*/;</BUG>
private void onClose()
{
params_.setScrollPosition(view_.getScrollPosition());

$wnd.addEventListener(
"unload",
$entry(function() {
thiz.@org.rstudio.studio.client.rmarkdown.ui.RmdOutputPresenter::onClose()();
}),
true);
$wnd.getRstudioFrameScrollPosition = $entry(function() {
return thiz.@org.rstudio.studio.client.rmarkdown.ui.RmdOutputPresenter::getScrollPosition()();
});
}-*/;
private void onClose()
{
params_.setScrollPosition(view_.getScrollPosition());
