diff options
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/root/RootConnector.java | 2 | ||||
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/root/VRoot.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/root/RootConnector.java b/src/com/vaadin/terminal/gwt/client/ui/root/RootConnector.java index d6e75c2d67..2371fb1140 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/root/RootConnector.java +++ b/src/com/vaadin/terminal/gwt/client/ui/root/RootConnector.java @@ -249,7 +249,7 @@ public class RootConnector extends AbstractComponentContainerConnector if (firstPaint) { // Queue the initial window size to be sent with the following // request. - getWidget().performSizeCheck(); + getWidget().sendClientResized(); } getWidget().rendering = false; } diff --git a/src/com/vaadin/terminal/gwt/client/ui/root/VRoot.java b/src/com/vaadin/terminal/gwt/client/ui/root/VRoot.java index 0af8919280..142a0fd89c 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/root/VRoot.java +++ b/src/com/vaadin/terminal/gwt/client/ui/root/VRoot.java @@ -395,7 +395,7 @@ public class VRoot extends SimplePanel implements ResizeHandler, /** * Send new dimensions to the server. */ - private void sendClientResized() { + void sendClientResized() { Element parentElement = getElement().getParentElement(); int viewHeight = parentElement.getClientHeight(); int viewWidth = parentElement.getClientWidth(); |