Bug 506224 - [XULRunner][HiDPI] Wrong XULRunner browser size on HiDPI 4K
monitor

Change-Id: I64a422eff33589a49def0af8c5ac2a968bc33efe
Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
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 89c1f15..397161f 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
@@ -3174,7 +3174,7 @@
 }
 
 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);