[Tizen] Initialize class members in window-impl-ecore-wl.cpp 65/129665/2 accepted/tizen/unified/20170518.061215 submit/tizen/20170517.121619
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 17 May 2017 10:59:19 +0000 (19:59 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 17 May 2017 11:02:00 +0000 (20:02 +0900)
- Initialized mBrightness, mBrightnessChangeState, and mBrightnessChangeDone.

Change-Id: I572f702b768c2f790c268b2a623f69e95f5e0295
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
adaptors/ecore/wayland/window-impl-ecore-wl.cpp

index c564d2ec3911a1a00701657e7bcf570ff2a5978c..59ef0a1137ba4f8605ba3d691ce5ceb26c9815dd 100755 (executable)
@@ -79,7 +79,10 @@ struct Window::EventHandler
     mNotificationLevelChangeDone( true ),
     mScreenMode( 0 ),
     mScreenModeChangeState( 0 ),
-    mScreenModeChangeDone( true )
+    mScreenModeChangeDone( true ),
+    mBrightness( 0 ),
+    mBrightnessChangeState( 0 ),
+    mBrightnessChangeDone( true )
   {
     // store ecore window handle
     ECore::WindowRenderSurface* wlWindow( dynamic_cast< ECore::WindowRenderSurface * >( mWindow->mSurface ) );