This is an automated email from the ASF dual-hosted git repository.

pushminakazi pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 47c308a1f73f5f3fbb724ae63dda08f460187012
Author: pashminakazi <[email protected]>
AuthorDate: Mon Sep 20 05:38:50 2021 -0700

    Revert get Stage in SystemManager.as and ISystemManager.as to make mxtests 
works
---
 .../projects/MXRoyale/src/main/royale/mx/managers/ISystemManager.as  | 4 ++--
 .../projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as   | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/ISystemManager.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/ISystemManager.as
index a73d398..213fd8d 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/ISystemManager.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/ISystemManager.as
@@ -104,12 +104,12 @@ public interface ISystemManager extends IEventDispatcher, 
IChildList /*, IFlexMo
     function get rawChildren():IChildList;
     function get numModalWindows():int;
     function set numModalWindows(value:int):void;
-       COMPILE::SWF {
+       /* COMPILE::SWF {
                function get stage():Stage;
        }
        COMPILE::JS {
                function get stage():Object;
-       }
+       } */
  
        
        
//--------------------------------------------------------------------------
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
index 7dbe3e5..3976e01 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
@@ -516,7 +516,7 @@ public class SystemManager extends SystemManagerBase 
implements ISystemManager,
      *  get the main stage if we're loaded into another swf in the same sandbox
      */
        
-       COMPILE::JS {
+       /* COMPILE::JS {
                public function get stage():Object
                { 
                        return null;
@@ -528,7 +528,8 @@ public class SystemManager extends SystemManagerBase 
implements ISystemManager,
                { 
                        return null;
                }
-       }
+       } */
+       
     /* override public function get stage():Stage
     {
         if (_stage)

Reply via email to