From 54b448d018922f6315bb756c24c6ce7feff6e14d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Fri, 28 Feb 2014 13:42:56 +0200 Subject: [PATCH] Fix compile errors (#13334) Change-Id: Ib9210685ed70f98af78b5cc3ad756f37b09c326a --- client/src/com/vaadin/client/ui/grid/FlyweightCell.java | 3 +-- .../src/com/vaadin/shared/ui/grid/ScrollDestination.java | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename {client => shared}/src/com/vaadin/shared/ui/grid/ScrollDestination.java (100%) diff --git a/client/src/com/vaadin/client/ui/grid/FlyweightCell.java b/client/src/com/vaadin/client/ui/grid/FlyweightCell.java index 8f52e415e5..296a70934b 100644 --- a/client/src/com/vaadin/client/ui/grid/FlyweightCell.java +++ b/client/src/com/vaadin/client/ui/grid/FlyweightCell.java @@ -20,7 +20,6 @@ import java.util.List; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.Style.Display; import com.google.gwt.dom.client.Style.Unit; -import com.google.gwt.user.client.DOM; import com.google.gwt.user.client.ui.IsWidget; import com.google.gwt.user.client.ui.Widget; import com.vaadin.client.ui.grid.FlyweightRow.CellIterator; @@ -192,7 +191,7 @@ class FlyweightCell implements Cell { widget.removeFromParent(); // Physical attach. - DOM.appendChild(getElement(), widget.getElement()); + getElement().appendChild(widget.getElement()); Escalator.setParent(widget, escalator); } diff --git a/client/src/com/vaadin/shared/ui/grid/ScrollDestination.java b/shared/src/com/vaadin/shared/ui/grid/ScrollDestination.java similarity index 100% rename from client/src/com/vaadin/shared/ui/grid/ScrollDestination.java rename to shared/src/com/vaadin/shared/ui/grid/ScrollDestination.java -- 2.39.5