Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
index 82940c6607..086b8ba183 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
@@ -3220,7 +3220,7 @@ void navigate (long /*int*/ requestHandle) {
}
void onResize () {
- Rectangle rect = browser.getClientArea ();
+ Rectangle rect = DPIUtil.autoScaleUp (browser.getClientArea ()); // To Pixels
int width = Math.max (1, rect.width);
int height = Math.max (1, rect.height);

Back to the top