Stop calling is_not_null.

It has been removed from Rust.
This commit is contained in:
Ms2ger 2015-01-20 13:08:49 +01:00
parent 2629445748
commit 7eb659371d
6 changed files with 26 additions and 28 deletions

View file

@ -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));
}
});