summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-01-31 13:03:58 +0200
committerLeif Åstrand <leif@vaadin.com>2012-01-31 13:03:58 +0200
commitf3bdf0fa7c8cbbf1a0fb1449850c776c3fc10168 (patch)
tree3e32700957c69932a4ad3f10001f37b237c03000 /src
parent2910d7505c1bbaee477d92b1bb0fbfd8bcaedb93 (diff)
downloadvaadin-framework-f3bdf0fa7c8cbbf1a0fb1449850c776c3fc10168.tar.gz
vaadin-framework-f3bdf0fa7c8cbbf1a0fb1449850c776c3fc10168.zip
Fix an invalid cast from Widget to VPaintableWidget (#8324)
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VMeasuringOrderedLayout.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VMeasuringOrderedLayout.java b/src/com/vaadin/terminal/gwt/client/ui/VMeasuringOrderedLayout.java
index 817cf9bfe0..5c5f67bf18 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VMeasuringOrderedLayout.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VMeasuringOrderedLayout.java
@@ -117,7 +117,8 @@ public class VMeasuringOrderedLayout extends ComplexPanel implements Container,
// Remove the wrapper
getElement().removeChild(wrapper);
- client.unregisterPaintable((VPaintableWidget) widget);
+ client.unregisterPaintable(VPaintableMap.get(client).getPaintable(
+ widget));
}
int bitMask = uidl.getIntAttribute("margins");