summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2011-10-11 11:44:35 +0000
committerArtur Signell <artur.signell@itmill.com>2011-10-11 11:44:35 +0000
commit63ee870f264efbb4310026de8de58f18044ab712 (patch)
tree5560aa8085bd50d75f1f5d4a801331af1731ed76 /src
parenta694b492fde73472f2b2437ba971de25467c6132 (diff)
downloadvaadin-framework-63ee870f264efbb4310026de8de58f18044ab712.tar.gz
vaadin-framework-63ee870f264efbb4310026de8de58f18044ab712.zip
#7755 Debug window "highlight component" does not work with sub windows
svn changeset:21679/svn branch:6.7
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/client/Util.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/Util.java b/src/com/vaadin/terminal/gwt/client/Util.java
index 34c52357cd..bd46871902 100644
--- a/src/com/vaadin/terminal/gwt/client/Util.java
+++ b/src/com/vaadin/terminal/gwt/client/Util.java
@@ -920,8 +920,8 @@ public class Util {
* does not belong to a child.
*/
public static Paintable getPaintableForElement(
- ApplicationConnection client, Container parent, Element element) {
- Element rootElement = ((Widget) parent).getElement();
+ ApplicationConnection client, Widget parent, Element element) {
+ Element rootElement = parent.getElement();
while (element != null && element != rootElement) {
Paintable paintable = client.getPaintable(element);
if (paintable == null) {