some targets are not IUIBase

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

Branch: refs/heads/develop
Commit: b91788af52f993305c527c4abf916a9d98dda2ad
Parents: ec52499
Author: Alex Harui <[email protected]>
Authored: Wed Oct 29 13:44:02 2014 -0700
Committer: Alex Harui <[email protected]>
Committed: Wed Oct 29 13:44:02 2014 -0700

----------------------------------------------------------------------
 .../projects/FlexJSUI/src/org/apache/flex/events/MouseEvent.as   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b91788af/frameworks/as/projects/FlexJSUI/src/org/apache/flex/events/MouseEvent.as
----------------------------------------------------------------------
diff --git 
a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/events/MouseEvent.as 
b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/events/MouseEvent.as
index 3c48870..dabdf35 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/events/MouseEvent.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/events/MouseEvent.as
@@ -117,7 +117,7 @@ package org.apache.flex.events
             if (!_stagePoint)
             {
                 var localPoint:Point = new Point(localX, localY);
-                _stagePoint = PointUtils.localToGlobal(localPoint, 
IUIBase(target));
+                _stagePoint = PointUtils.localToGlobal(localPoint, target);
             }
             return _stagePoint.x;
         }
@@ -128,7 +128,7 @@ package org.apache.flex.events
             if (!_stagePoint)
             {
                 var localPoint:Point = new Point(localX, localY);
-                _stagePoint = PointUtils.localToGlobal(localPoint, 
IUIBase(target));
+                _stagePoint = PointUtils.localToGlobal(localPoint, target);
             }
             return _stagePoint.y;            
         }

Reply via email to