force cef browser resize check on initial load

ensure that the output render size matches the desired size
This commit is contained in:
Mike Blumenkrantz 2015-05-28 16:03:11 -04:00
parent 952e953237
commit 2a55a91b9a

View file

@ -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,