Merge "Removed invalid handle assignments from Builder/TextInput" into tizen
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 12 Aug 2014 10:29:52 +0000 (03:29 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 12 Aug 2014 10:29:52 +0000 (03:29 -0700)
1  2 
base/dali-toolkit/internal/builder/builder-impl.cpp

@@@ -537,6 -537,19 +537,6 @@@ BaseHandle Builder::DoCreate( const Tre
    return baseHandle;
  }
  
 -
 -ActorContainer Builder::GetTopLevelActors() const
 -{
 -  // deprecated function.
 -  return ActorContainer();
 -}
 -
 -Animation Builder::GetAnimation( const std::string &name ) const
 -{
 -  // deprecated
 -  return Animation();
 -}
 -
  void Builder::SetupTask( RenderTask& task, const TreeNode& node, const Replacement& constant )
  {
    const Stage& stage = Stage::GetCurrent();
@@@ -712,7 -725,7 +712,7 @@@ FrameBufferImage Builder::GetFrameBuffe
          if( SetPropertyFromNode( *image, Property::MAP, propertyMap, constant ) )
          {
            propertyMap.SetValue(KEYNAME_TYPE, Property::Value(std::string("FrameBufferImage")));
-           ret = Dali::Scripting::NewImage( propertyMap );
+           ret = FrameBufferImage::DownCast( Dali::Scripting::NewImage( propertyMap ) );
            mFrameBufferImageLut[ name ] = ret;
          }
        }
    return ret;
  }
  
 -Font Builder::GetFont( const std::string& name ) const
 -{
 -  // deprecated function.
 -  Font font;
 -  return font;
 -}
 -
 -TextStyle Builder::GetTextStyle( const std::string& name ) const
 -{
 -  // deprecated
 -  return TextStyle();
 -}
 -
 -Image Builder::GetImage( const std::string& name) const
 -{
 -  // deprecated function.
 -  return Image();
 -}
 -
 -Actor Builder::GetActor( const std::string &name ) const
 -{
 -  // deprecated function.
 -  return Actor();
 -}
 -
  void Builder::AddActors( Actor toActor )
  {
    // 'stage' is the default/by convention section to add from