mirror of
https://github.com/servo/servo.git
synced 2025-08-14 01:45:33 +01:00
Stop calling is_not_null.
It has been removed from Rust.
This commit is contained in:
parent
2629445748
commit
7eb659371d
6 changed files with 26 additions and 28 deletions
|
@ -61,7 +61,7 @@ pub extern "C" fn cef_initialize(args: *const cef_main_args_t,
|
|||
if !application.is_null() {
|
||||
(*application).get_browser_process_handler.map(|cb| {
|
||||
let handler = cb(application);
|
||||
if handler.is_not_null() {
|
||||
if !handler.is_null() {
|
||||
(*handler).on_context_initialized.map(|hcb| hcb(handler));
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue