aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2013-02-21 11:14:31 +0200
committerVaadin Code Review <review@vaadin.com>2013-02-21 14:54:28 +0000
commite829d2df2510057fdb39774da826edf4fda7c1b4 (patch)
tree22cc47cd7e5a6d5aa5b398704a798de2b1d589a9 /client
parent834275130dce0fee314e2c5b0b092579ba3905a4 (diff)
downloadvaadin-framework-e829d2df2510057fdb39774da826edf4fda7c1b4.tar.gz
vaadin-framework-e829d2df2510057fdb39774da826edf4fda7c1b4.zip
Don't report time spent in getWidget() as part of setConnectorId()
Change-Id: I1e6953f55836fc832dcd2a02eea60422daaf5c7d
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ConnectorMap.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ConnectorMap.java b/client/src/com/vaadin/client/ConnectorMap.java
index 5f6053dd32..810f12824a 100644
--- a/client/src/com/vaadin/client/ConnectorMap.java
+++ b/client/src/com/vaadin/client/ConnectorMap.java
@@ -126,8 +126,9 @@ public class ConnectorMap {
componentDetail.setConnector(connector);
if (connector instanceof ComponentConnector) {
ComponentConnector pw = (ComponentConnector) connector;
+ Widget widget = pw.getWidget();
Profiler.enter("ConnectorMap.setConnectorId");
- setConnectorId(pw.getWidget().getElement(), id);
+ setConnectorId(widget.getElement(), id);
Profiler.leave("ConnectorMap.setConnectorId");
}
Profiler.leave("ConnectorMap.registerConnector");