browserplugins/browseraudiovideoplugin/src/BavpPlugin.cpp
changeset 10 4530440261a8
parent 5 e45c3f40ea5f
child 25 92a061761a7b
equal deleted inserted replaced
5:e45c3f40ea5f 10:4530440261a8
   371 // -----------------------------------------------------------------------------
   371 // -----------------------------------------------------------------------------
   372 TBool CBavpPlugin::HandleGesture(void* aEvent)
   372 TBool CBavpPlugin::HandleGesture(void* aEvent)
   373     {
   373     {
   374     TBool ret = EFalse;
   374     TBool ret = EFalse;
   375     TGestureEvent *gesture = static_cast<TGestureEvent*>(aEvent);
   375     TGestureEvent *gesture = static_cast<TGestureEvent*>(aEvent);
   376     ret = iBavpController->HandleGesture(gesture);
   376     // Fix crash when iBavpController is null for bug EGUY-7TYHDC
       
   377     if (iBavpController) {
       
   378         ret = iBavpController->HandleGesture(gesture);
       
   379     }
   377     
   380     
   378     return ret;
   381     return ret;
   379     }
   382     }
   380 
   383 
   381 // -----------------------------------------------------------------------------
   384 // -----------------------------------------------------------------------------