Index: /CKEditor/branches/features/adobeair/_source/core/dom/element.js
===================================================================
--- /CKEditor/branches/features/adobeair/_source/core/dom/element.js	(revision 6172)
+++ /CKEditor/branches/features/adobeair/_source/core/dom/element.js	(revision 6173)
@@ -308,5 +308,6 @@
 		/**
 		 * Moves the selection focus to this element.
-		 * @param  {Boolean} Whether defer the focusing into new thread after a little while.
+		 * @param  {Boolean} defer Whether to asynchronously defer the
+		 * 		execution by 100 ms.
 		 * @example
 		 * var element = CKEDITOR.document.getById( 'myTextarea' );
@@ -315,10 +316,10 @@
 		focus : (function()
 		{
-			function exec( element )
+			function exec()
 			{
 				// IE throws error if the element is not visible.
 				try
 				{
-					element.$.focus();
+					this.$.focus();
 				}
 				catch (e)
@@ -328,9 +329,8 @@
 			return function( defer )
 			{
-				var self = this;
 				if ( defer )
-					setTimeout( function(){ exec( self ) }, 100 );
+					CKEDITOR.tools.setTimeout( exec, 100, this );
 				else
-					exec( this );
+					exec.call( this );
 			}
 		}()),
