Skip to content
Permalink
Browse files

force cef browser resize check on initial load

ensure that the output render size matches the desired size
  • Loading branch information
Mike Blumenkrantz
Mike Blumenkrantz committed May 28, 2015
1 parent 952e953 commit 2a55a91b9a04e0463a2841cdd072e178b2ac0ac6
Showing with 1 addition and 0 deletions.
  1. +1 −0 ports/cef/browser.rs
@@ -266,6 +266,7 @@ pub fn browser_callback_after_created(browser: CefBrowser) {
}
browser.downcast().callback_executed.set(true);
browser.downcast().frame.load();
browser.downcast().host.was_resized();
}

fn browser_host_create(window_info: &cef_window_info_t,

0 comments on commit 2a55a91

Please sign in to comment.
You can’t perform that action at this time.