[3.0] Fixed Svace Issue 85/113885/6
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 9 Feb 2017 06:59:42 +0000 (15:59 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Fri, 10 Feb 2017 05:08:42 +0000 (21:08 -0800)
- Initialized one of class member

Change-Id: Ibd97f8680686358e1184389eae7c80cb69937a8d
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
adaptors/ecore/wayland/window-render-surface-ecore-wl.cpp
adaptors/tizen/ecore-indicator-impl-tizen.cpp
adaptors/tizen/native-render-surface-tizen.cpp
adaptors/wayland/event-handler-wl.cpp
adaptors/wayland/render-surface/render-surface-wl.cpp
adaptors/wayland/window-impl-wl.cpp
plugins/video-player/tizen-video-player.cpp

index baf7cb9..c8c2f92 100644 (file)
@@ -50,6 +50,7 @@ WindowRenderSurface::WindowRenderSurface( Dali::PositionSize positionSize,
                                           const std::string& name,
                                           bool isTransparent)
 : EcoreWlRenderSurface( positionSize, surface, name, isTransparent ),
+  mWlWindow( NULL ),
   mEglWindow( NULL )
 {
   DALI_LOG_INFO( gRenderSurfaceLogFilter, Debug::Verbose, "Creating Window\n" );
index b5dbdec..fcce43f 100644 (file)
@@ -500,6 +500,7 @@ bool Indicator::ScopedLock::IsLocked()
 
 Indicator::Indicator( Adaptor* adaptor, Dali::Window::WindowOrientation orientation, IndicatorInterface::Observer* observer )
 : mPixmap( 0 ),
+  mGestureDeltaY( 0.0f ),
   mGestureDetected( false ),
   mConnection( this ),
   mOpacityMode( Dali::Window::OPAQUE ),
index 787507f..e02822d 100644 (file)
@@ -51,6 +51,7 @@ struct NativeRenderSurface::Impl
     mTbmFormat( isTransparent ? TBM_FORMAT_ARGB8888 : TBM_FORMAT_RGB888 ),
     mOwnSurface( false ),
     mDrawableCompleted( false ),
+    mTbmQueue( NULL ),
     mConsumeSurface( NULL ),
     mThreadSynchronization( NULL )
   {
index bc7d900..0ae57f4 100644 (file)
@@ -114,7 +114,8 @@ EventHandler::EventHandler( RenderSurface* surface, CoreEventInterface& coreEven
   mDragAndDropDetector( dndDetector ),
   mClipboardEventNotifier( ClipboardEventNotifier::Get() ),
   mClipboard( Dali::Clipboard::Get()),
-  mImpl( NULL )
+  mImpl( NULL ),
+  mPaused( false )
 {
 
 
index f8323ea..e9c1348 100644 (file)
@@ -44,7 +44,8 @@ RenderSurface::RenderSurface(Dali::PositionSize positionSize,
                                            const std::string& name,
                                            bool isTransparent)
 : mRenderNotification(NULL),
-  mColorDepth(isTransparent ? COLOR_DEPTH_32 : COLOR_DEPTH_24)
+  mColorDepth(isTransparent ? COLOR_DEPTH_32 : COLOR_DEPTH_24),
+  mEglWindow(NULL)
 {
   mWindow.mPosition = positionSize;
   mWindow.mTitle = name;
index b21fe0d..f0be235 100644 (file)
@@ -114,7 +114,8 @@ Window::Window()
   mNextIndicatorOrientation(Dali::Window::PORTRAIT),
   mIndicatorOpacityMode(Dali::Window::OPAQUE),
   mOverlay(NULL),
-  mAdaptor(NULL)
+  mAdaptor(NULL),
+  mPreferredOrientation(Dali::Window::PORTRAIT)
 {
   mEventHandler = NULL;
 }
index bbcabaf..d33e234 100644 (file)
@@ -206,6 +206,7 @@ void LogPlayerError( int error )
 TizenVideoPlayer::TizenVideoPlayer()
 : mPlayer( NULL ),
   mPlayerState( PLAYER_STATE_NONE ),
+  mTbmSurface( NULL ),
   mPacket( NULL ),
   mBackgroundColor( Dali::Stage::DEFAULT_BACKGROUND_COLOR ),
   mTargetType( NativeImage )