X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fdali-script-v8%2Fsrc%2Factors%2Fimage-actor-api.cpp;h=9a30b21a04b21489dd9ad82adc5439011d1a67f9;hb=a6f34ab2df1f2418c037366030a4dcfbcda29847;hp=fa93c7f46ca2e71f202b10c2f7ab9a915087d4b6;hpb=e8efa9549ccedae5b8377c9eb331aa8392895879;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/plugins/dali-script-v8/src/actors/image-actor-api.cpp b/plugins/dali-script-v8/src/actors/image-actor-api.cpp index fa93c7f..9a30b21 100644 --- a/plugins/dali-script-v8/src/actors/image-actor-api.cpp +++ b/plugins/dali-script-v8/src/actors/image-actor-api.cpp @@ -151,28 +151,6 @@ void ImageActorApi::GetImage( const v8::FunctionCallbackInfo& args ) } /** - * Tell the image actor to use the natural size of the current image - * or future images. - * - * Calling SetSize on this actor or animating the size of the actor - * overrides this behaviour. - * - * The image actor uses the natural image size after an image - * has been loaded. - * @for ImageActor - * @method setToNaturalSize - */ -void ImageActorApi::SetToNaturalSize( const v8::FunctionCallbackInfo& args ) -{ - v8::Isolate* isolate = args.GetIsolate(); - v8::HandleScope handleScope( isolate ); - ImageActor imageActor = GetImageActor( isolate, args ); - - imageActor.SetToNaturalSize(); - -} - -/** * Query whether a pixel area has been set. * @for ImageActor * @method isPixelAreaSet