Skip to content

Commit e473f1a

Browse files
committed
Edge: Fix ICoreWebView2_11 availability check
Fixup for eclipse-platform#1378.
1 parent ebe6ec4 commit e473f1a

File tree

1 file changed

+1
-1
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser

1 file changed

+1
-1
lines changed

bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/Edge.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ ICoreWebView2_11 getWebView_11(boolean waitForPendingWebviewTasksToFinish) {
345345

346346
boolean isWebView_11Available() {
347347
waitForFutureToFinish(webView_11Future);
348-
return webView_11Future.isCancelled();
348+
return !webView_11Future.isCancelled();
349349
}
350350

351351
/*

0 commit comments

Comments
 (0)