diff options
Diffstat (limited to 'bundles/org.eclipse.swt')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java index 3c413fd8a8..df6189860b 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java @@ -126,7 +126,7 @@ static int checkStyle(int style) { style &= ~SWT.WEBKIT; } String platform = SWT.getPlatform (); - if ((style & SWT.MOZILLA) != 0) { + if ((style & SWT.MOZILLA) != 0 || (style & SWT.WEBKIT) != 0) { if ("carbon".equals (platform)) return style | SWT.EMBEDDED; //$NON-NLS-1$ if ("motif".equals (platform)) return style | SWT.EMBEDDED; //$NON-NLS-1$ return style; |