IPreferenceConstants.PHP_BRING_TO_TOP_PREVIEW_DEFAULT);
if (autoPreview) {
- IWorkbenchPage page = WebUI.getDefault().getActivePage();
+ IWorkbenchPage page = WebUI.getActivePage();
try {
IViewPart part = page.findView(BrowserView.ID_BROWSER);
if (part == null) {