Revert "This closes #37"

This reverts commit 813fb8eed7fd85fd6a409bb398dbff51bab96124.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/48b38ca3
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/48b38ca3
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/48b38ca3

Branch: refs/heads/master
Commit: 48b38ca321c1ed00b79f829dae3d4aa2c1c86951
Parents: 813fb8e
Author: Harbs <ha...@in-tools.com>
Authored: Wed Nov 18 23:53:05 2015 +0200
Committer: Harbs <ha...@in-tools.com>
Committed: Wed Nov 18 23:53:05 2015 +0200

----------------------------------------------------------------------
 .../airspark/src/spark/components/WindowedApplication.as     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/48b38ca3/frameworks/projects/airspark/src/spark/components/WindowedApplication.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/airspark/src/spark/components/WindowedApplication.as 
b/frameworks/projects/airspark/src/spark/components/WindowedApplication.as
index 6ca3094..8843e5a 100644
--- a/frameworks/projects/airspark/src/spark/components/WindowedApplication.as
+++ b/frameworks/projects/airspark/src/spark/components/WindowedApplication.as
@@ -690,7 +690,7 @@ public class WindowedApplication extends Application 
implements IWindow
      */
     override public function get maxHeight():Number
     {
-        if (nativeWindow && nativeWindow.maxSize && !maxHeightChanged)
+        if (nativeWindow && !maxHeightChanged)
             return nativeWindow.maxSize.y - chromeHeight();
         else
             return _maxHeight;
@@ -738,7 +738,7 @@ public class WindowedApplication extends Application 
implements IWindow
      */
     override public function get maxWidth():Number
     {
-        if (nativeWindow && nativeWindow.maxSize && !maxWidthChanged)
+        if (nativeWindow && !maxWidthChanged)
             return nativeWindow.maxSize.x - chromeWidth();
         else
             return _maxWidth;
@@ -792,7 +792,7 @@ public class WindowedApplication extends Application 
implements IWindow
      */
     override public function get minHeight():Number
     {
-        if (nativeWindow && nativeWindow.minSize && !minHeightChanged)
+        if (nativeWindow && !minHeightChanged)
             return nativeWindow.minSize.y - chromeHeight();
         else
             return _minHeight;
@@ -840,7 +840,7 @@ public class WindowedApplication extends Application 
implements IWindow
      */
     override public function get minWidth():Number
     {
-        if (nativeWindow && nativeWindow.minSize && !minWidthChanged)
+        if (nativeWindow && !minWidthChanged)
             return nativeWindow.minSize.x - chromeWidth();
         else
             return _minWidth;

Reply via email to