Removes redundant width/height parsing in DockLayoutPanel.
Review at http://gwt-code-reviews.appspot.com/633802


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@8289 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/uibinder/elementparsers/DockPanelParser.java b/user/src/com/google/gwt/uibinder/elementparsers/DockPanelParser.java
index e3b7813..8151147 100644
--- a/user/src/com/google/gwt/uibinder/elementparsers/DockPanelParser.java
+++ b/user/src/com/google/gwt/uibinder/elementparsers/DockPanelParser.java
@@ -74,18 +74,6 @@
       String childFieldName = writer.parseElementToField(widget);
       writer.addStatement("%1$s.add(%2$s, %3$s);", fieldName, childFieldName, translated);
 
-      // And they can optionally have a width.
-      if (child.hasAttribute("width")) {
-        writer.addStatement("%1$s.setCellWidth(%2$s, \"%3$s\");",
-            fieldName, childFieldName, child.consumeRawAttribute("width"));
-      }
-
-      // And they can optionally have a height.
-      if (child.hasAttribute("height")) {
-        writer.addStatement("%1$s.setCellHeight(%2$s, \"%3$s\");",
-            fieldName, childFieldName, child.consumeRawAttribute("height"));
-      }
-
       // Parse the CellPanel-specific attributes on the Dock element.
       CellPanelParser.parseCellAttributes(child, fieldName, childFieldName, writer);
     }