rstudio/rstudio — comment on commit 882e3b964686071c33bd31020a230bf7bc94c56f
File: src/gwt/src/org/rstudio/studio/client/workbench/views/output/compilepdf/CompilePdfOutputTab.java line 33
By jcheng5:

You should be able to replace this entire chunk with just

abstract void confirmClose(Command onConfirmed);

and let the shim infrastructure delegate the call to the presenter for you.