Add missing funtion that sets the rotation
[platform/framework/web/crosswalk-tizen.git] / runtime / browser / web_application.cc
index b463cc5..cae57b1 100755 (executable)
@@ -283,6 +283,7 @@ bool WebApplication::Initialize() {
           wgt::parse::SettingInfo::ScreenOrientation::AUTO) {
     ewk_context_tizen_extensible_api_string_set(ewk_context_,
                                                 kRotationLockFeature, true);
+    window_->SetAutoRotation();
   } else if (app_data_->setting_info() != NULL &&
              app_data_->setting_info()->screen_orientation() ==
                  wgt::parse::SettingInfo::ScreenOrientation::PORTRAIT) {