diff options
author | Artur Signell <artur@vaadin.com> | 2012-01-26 17:07:08 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-01-26 17:07:08 +0200 |
commit | d94559e52b89cf23abcd4985a4866d400dbdece3 (patch) | |
tree | 5a7f6ad72822e70c09f14d2c77fa68530db7bf0d /src | |
parent | 4c9905b221bc9324669713711a5fd3759e15f899 (diff) | |
download | vaadin-framework-d94559e52b89cf23abcd4985a4866d400dbdece3.tar.gz vaadin-framework-d94559e52b89cf23abcd4985a4866d400dbdece3.zip |
Avoid comparing Widget with VPaintableWidget
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ApplicationConnection.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java index 9b756382f3..18f7b19e92 100644 --- a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java +++ b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java @@ -1821,7 +1821,7 @@ public class ApplicationConnection { while (childWidgets.hasNext()) { final Widget child = childWidgets.next(); - if (child instanceof VPaintableWidget) { + if (getPaintableMap().isPaintable(child)) { if (handleComponentRelativeSize(child)) { /* @@ -1856,7 +1856,7 @@ public class ApplicationConnection { if (paintable == null) { return false; } - boolean debugSizes = false; + boolean debugSizes = true; FloatSize relativeSize = paintableMap.getRelativeSize(paintable); if (relativeSize == null) { |