ScreenOrientation enum is changed to enum class.
authorWonYoung Choi <wy80.choi@samsung.com>
Thu, 7 May 2015 05:58:16 +0000 (14:58 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Thu, 7 May 2015 05:58:16 +0000 (14:58 +0900)
Change-Id: I435168cda19af00e2cc5e34f50d853f2f9c0bfcc

src/runtime/web_application.cc

index 7485d08..0957a7d 100755 (executable)
@@ -207,7 +207,7 @@ bool WebApplication::Initialize() {
                                               true);
   if (app_data_->setting_info() != NULL &&
       app_data_->setting_info()->screen_orientation()
-      == wgt::parse::SettingInfo::AUTO) {
+      == wgt::parse::SettingInfo::ScreenOrientation::AUTO) {
     ewk_context_tizen_extensible_api_string_set(ewk_context_,
                                                 kRotationLockFeature,
                                                 true);
@@ -443,8 +443,8 @@ void WebApplication::OnOrientationLock(WebView* view,
   auto orientaion_setting = app_data_->setting_info() != NULL ?
                             app_data_->setting_info()->screen_orientation() :
                             // TODO(sngn.lee): check default value
-                            wgt::parse::SettingInfo::AUTO;
-  if (orientaion_setting != wgt::parse::SettingInfo::AUTO) {
+                            wgt::parse::SettingInfo::ScreenOrientation::AUTO;
+  if (orientaion_setting != wgt::parse::SettingInfo::ScreenOrientation::AUTO) {
     return;
   }