diff -r 4eb1ae11334f -r e6a39382bb9c textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutbubblectrl.cpp --- a/textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutbubblectrl.cpp Wed Apr 14 16:18:34 2010 +0300 +++ b/textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutbubblectrl.cpp Tue Apr 27 16:59:43 2010 +0300 @@ -234,7 +234,8 @@ // Draw background if ( iBgSkinId.iMajor ) { - AknsDrawUtils::DrawFrame( AknsUtils::SkinInstance(), + + AknsDrawUtils::DrawFrame( UiLayout()->SkinInstance(), //UiLayout()->SkinInstace() *gc, rect, innerRect, @@ -243,7 +244,7 @@ } else if( iFirstBmpId.iMajor && iMiddleBmpId.iMajor && iLastBmpId.iMajor ) { - AknPenInputDrawUtils::Draw3PiecesFrame( AknsUtils::SkinInstance(), + AknPenInputDrawUtils::Draw3PiecesFrame( UiLayout()->SkinInstance(), *gc, rect, innerRect, @@ -301,7 +302,7 @@ TRgb color( KRgbBlack ); // sane default for nonskinned case if ( AknsUtils::AvkonSkinEnabled() ) { - AknsUtils::GetCachedColor( AknsUtils::SkinInstance(), + AknsUtils::GetCachedColor( UiLayout()->SkinInstance(), color, KAknsIIDQsnTextColors, iTextColorIndex ); } textLayout.DrawText(*gc, *iText, ETrue, color);