mirror of
https://github.com/servo/servo.git
synced 2025-07-16 11:53:39 +01:00
force cef browser resize check on initial load
ensure that the output render size matches the desired size
This commit is contained in:
parent
952e953237
commit
2a55a91b9a
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue