From: JongHeon Choi Date: Thu, 9 Jun 2016 01:16:16 +0000 (+0900) Subject: Show window after frame rendered X-Git-Tag: accepted/tizen/common/20160610.175916~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=212d77c191778e1f4c659a03ef26d5ce5478785e;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Show window after frame rendered --- diff --git a/runtime/browser/web_application.cc b/runtime/browser/web_application.cc index bd39f6d..af4580b 100644 --- a/runtime/browser/web_application.cc +++ b/runtime/browser/web_application.cc @@ -393,12 +393,6 @@ void WebApplication::Launch(std::unique_ptr appcontrol) { verbose_mode_ = true; } - // TODO(sngn.lee): check the below code location. - // in Wearable, webkit can render contents before show window - // but Mobile, webkit can't render contents before show window - window_->Show(); - window_->Active(); - launched_ = true; } @@ -798,6 +792,10 @@ void WebApplication::OnRendered(WebView* /*view*/) { STEP_PROFILE_END("Start -> Launch Completed"); LOGGER(DEBUG) << "Rendered"; splash_screen_->HideSplashScreen(SplashScreen::HideReason::RENDERED); + + // Show window after frame rendered. + window_->Show(); + window_->Active(); } void WebApplication::LaunchInspector(common::AppControl* appcontrol) {