aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/widgetset
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2014-03-10 10:59:44 +0000
committerVaadin Code Review <review@vaadin.com>2014-03-10 11:15:50 +0000
commit7d74479ccaceb5a2eaa82b89016a9a45a5f3e181 (patch)
tree2d0b9e71217a0fad03739224e39b6333acce0e78 /uitest/src/com/vaadin/tests/widgetset
parent1e22aaf4df18413e537731f6b2bac249022cb72e (diff)
downloadvaadin-framework-7d74479ccaceb5a2eaa82b89016a9a45a5f3e181.tar.gz
vaadin-framework-7d74479ccaceb5a2eaa82b89016a9a45a5f3e181.zip
Revert "Fixes a memory leak on IE8 in LayoutManagerIE8 (#12688)"
This reverts commit 024692835d1e2af1a4053821959f03f8d5eb4fcb. Change-Id: I19cf6ee66a21f7eb07d0f1fd8b9698ae88454700
Diffstat (limited to 'uitest/src/com/vaadin/tests/widgetset')
-rw-r--r--uitest/src/com/vaadin/tests/widgetset/client/LayoutMemoryUsageIE8ExtensionConnector.java45
1 files changed, 0 insertions, 45 deletions
diff --git a/uitest/src/com/vaadin/tests/widgetset/client/LayoutMemoryUsageIE8ExtensionConnector.java b/uitest/src/com/vaadin/tests/widgetset/client/LayoutMemoryUsageIE8ExtensionConnector.java
deleted file mode 100644
index c92e688520..0000000000
--- a/uitest/src/com/vaadin/tests/widgetset/client/LayoutMemoryUsageIE8ExtensionConnector.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright 2000-2013 Vaadin Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.vaadin.tests.widgetset.client;
-
-import com.vaadin.client.BrowserInfo;
-import com.vaadin.client.LayoutManager;
-import com.vaadin.client.LayoutManagerIE8;
-import com.vaadin.client.ServerConnector;
-import com.vaadin.client.extensions.AbstractExtensionConnector;
-import com.vaadin.shared.ui.Connect;
-import com.vaadin.tests.extensions.LayoutMemoryUsageIE8Extension;
-
-@Connect(LayoutMemoryUsageIE8Extension.class)
-public class LayoutMemoryUsageIE8ExtensionConnector extends
- AbstractExtensionConnector {
-
- @Override
- protected void extend(ServerConnector target) {
- if (BrowserInfo.get().isIE8()) {
- LayoutManagerIE8 manager = (LayoutManagerIE8) LayoutManager
- .get(getConnection());
- configureGetMapSizeJS(manager);
- }
- }
-
- private native void configureGetMapSizeJS(LayoutManagerIE8 manager)
- /*-{
- $wnd.vaadin.getMeasuredSizesCount = function() {
- return manager.@com.vaadin.client.LayoutManagerIE8::getMeasuredSizesMapSize()();
- };
- }-*/;
-}