aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/client/VDebugConsole.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-02-07 14:02:36 +0200
committerLeif Åstrand <leif@vaadin.com>2012-02-07 14:02:36 +0200
commit208f2461a7022b87350d1bfd05da16653df1e430 (patch)
tree587e6198a8bda5550a5ee38456d30a1be0fa4dfa /src/com/vaadin/terminal/gwt/client/VDebugConsole.java
parent27e820a5f4cdc944b6d3e82d25509fd453489062 (diff)
downloadvaadin-framework-208f2461a7022b87350d1bfd05da16653df1e430.tar.gz
vaadin-framework-208f2461a7022b87350d1bfd05da16653df1e430.zip
Remove some references to Container
Diffstat (limited to 'src/com/vaadin/terminal/gwt/client/VDebugConsole.java')
-rw-r--r--src/com/vaadin/terminal/gwt/client/VDebugConsole.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/VDebugConsole.java b/src/com/vaadin/terminal/gwt/client/VDebugConsole.java
index 76c312676a..d3a963a7e1 100644
--- a/src/com/vaadin/terminal/gwt/client/VDebugConsole.java
+++ b/src/com/vaadin/terminal/gwt/client/VDebugConsole.java
@@ -523,8 +523,7 @@ public class VDebugConsole extends VOverlay implements Console {
private void printClientSideDetectedIssues(
Set<VPaintableWidget> zeroHeightComponents, ApplicationConnection ac) {
for (final VPaintableWidget paintable : zeroHeightComponents) {
- final Container layout = Util.getLayout(paintable
- .getWidgetForPaintable());
+ final Widget layout = paintable.getParent().getWidgetForPaintable();
VerticalPanel errorDetails = new VerticalPanel();
errorDetails.add(new Label("" + Util.getSimpleName(paintable)
@@ -534,7 +533,7 @@ public class VDebugConsole extends VOverlay implements Console {
emphasisInUi.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
if (paintable != null) {
- Element element2 = ((Widget) layout).getElement();
+ Element element2 = layout.getElement();
Widget.setStyleName(element2, "invalidlayout",
emphasisInUi.getValue());
}