flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject git commit: [flex-sdk] [refs/heads/develop] - FLEX-33875 check to stop RTE
Date Mon, 04 Nov 2013 21:56:05 GMT
Updated Branches:
  refs/heads/develop 7cab71bb2 -> 1199cca6d


FLEX-33875 check to stop RTE


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

Branch: refs/heads/develop
Commit: 1199cca6ddb6fce742a136c596d5f285eafcd35f
Parents: 7cab71b
Author: Justin Mclean <jmclean@apache.org>
Authored: Tue Nov 5 08:55:16 2013 +1100
Committer: Justin Mclean <jmclean@apache.org>
Committed: Tue Nov 5 08:55:16 2013 +1100

----------------------------------------------------------------------
 .../projects/spark/src/spark/components/supportClasses/Skin.as     | 2 +-
 frameworks/projects/spark/src/spark/skins/ActionScriptSkinBase.as  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1199cca6/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as b/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as
index 6d1dfb3..9e106ae 100644
--- a/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as
+++ b/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as
@@ -188,7 +188,7 @@ public class Skin extends Group implements IHighlightBitmapCaptureClient
         var exclusions:Array = focusSkinExclusions;
         if (!exclusions)
         {
-            if (this["hostComponent"] is SkinnableComponent)
+            if ("hostComponent" in this && this["hostComponent"] is SkinnableComponent)
                 exclusions = SkinnableComponent(this["hostComponent"]).suggestedFocusSkinExclusions;
         }
         var exclusionCount:Number = (exclusions == null) ? 0 : exclusions.length;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1199cca6/frameworks/projects/spark/src/spark/skins/ActionScriptSkinBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/skins/ActionScriptSkinBase.as b/frameworks/projects/spark/src/spark/skins/ActionScriptSkinBase.as
index 93a49ba..495312d 100644
--- a/frameworks/projects/spark/src/spark/skins/ActionScriptSkinBase.as
+++ b/frameworks/projects/spark/src/spark/skins/ActionScriptSkinBase.as
@@ -799,7 +799,7 @@ public class ActionScriptSkinBase extends UIComponent implements IHighlightBitma
         var exclusions:Array = focusSkinExclusions;
         if (!exclusions)
         {
-            if (this["hostComponent"] is SkinnableComponent)
+            if ("hostComponent" in this && this["hostComponent"] is SkinnableComponent)
                 exclusions = SkinnableComponent(this["hostComponent"]).suggestedFocusSkinExclusions;
         }
         var exclusionCount:Number = (exclusions == null) ? 0 : exclusions.length;


Mime
View raw message