Skip to content

Commit

Permalink
force cef browser resize check on initial load
Browse files Browse the repository at this point in the history
ensure that the output render size matches the desired size
  • Loading branch information
Mike Blumenkrantz committed May 28, 2015
1 parent 952e953 commit 2a55a91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ports/cef/browser.rs
Expand Up @@ -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,
Expand Down

0 comments on commit 2a55a91

Please sign in to comment.