dynamic_cast fails and type is a pointer, it returns a null pointer
Most window impl functions check it, but ShowIndicator not.
Change-Id: Ib8d015f2bf005ba67033e735f0e995c72f2006a2
ECore::WindowRenderSurface* wlSurface( dynamic_cast< ECore::WindowRenderSurface * >( mSurface ) );
DALI_ASSERT_DEBUG(wlSurface);
- Ecore_Wl_Window* wlWindow = wlSurface->GetWlWindow();
+
+ Ecore_Wl_Window* wlWindow = NULL;
+ if( wlSurface )
+ {
+ wlWindow = wlSurface->GetWlWindow();
+ }
mIndicatorVisible = visibleMode;