From e6d31105132aa329cecc15223db273885f9c29b8 Mon Sep 17 00:00:00 2001 From: Yoonsang Lee Date: Thu, 7 May 2015 17:38:40 +0900 Subject: [PATCH] Fix uninitialized mResourceClient in NinePatchImage Change-Id: I4b0f20ad6cc88d1e222e3aa5bc8b74bd6c58788f --- dali/internal/event/images/nine-patch-image-impl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dali/internal/event/images/nine-patch-image-impl.cpp b/dali/internal/event/images/nine-patch-image-impl.cpp index e9caf55..c2eb89a 100644 --- a/dali/internal/event/images/nine-patch-image-impl.cpp +++ b/dali/internal/event/images/nine-patch-image-impl.cpp @@ -150,6 +150,7 @@ NinePatchImage::NinePatchImage( const std::string& filename, const ImageAttribut mParsedBorder(false) { ThreadLocalStorage& tls = ThreadLocalStorage::Get(); + mResourceClient = &tls.GetResourceClient(); Integration::PlatformAbstraction& platformAbstraction = tls.GetPlatformAbstraction(); Integration::BitmapResourceType resourceType( ImageDimensions::FromFloatVec2( attributes.GetSize() ), attributes.GetScalingMode(), attributes.GetFilterMode(), attributes.GetOrientationCorrection() ); -- 2.7.4