diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-05-29 17:53:00 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-06-02 22:16:27 -0400 |
commit | 612cefa02d317c6f17c522ca8f209f82bb8c2ad0 (patch) | |
tree | 2e52f06561e9968ea587782db19262a77d3f5239 /ports/cef/interfaces/cef_browser_process_handler.rs | |
parent | e8e300a6fd7e7939a84917ee2e22d543742eb4c9 (diff) | |
download | servo-612cefa02d317c6f17c522ca8f209f82bb8c2ad0.tar.gz servo-612cefa02d317c6f17c522ca8f209f82bb8c2ad0.zip |
update all cef interfaces to use borrows for string_list params
it was somewhat impossible to make this work with allocated string_lists
due to constant leakage from box allocations going out of scope, so this should
simplify it ane be more manageable in the future
Diffstat (limited to 'ports/cef/interfaces/cef_browser_process_handler.rs')
-rw-r--r-- | ports/cef/interfaces/cef_browser_process_handler.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ports/cef/interfaces/cef_browser_process_handler.rs b/ports/cef/interfaces/cef_browser_process_handler.rs index 49cc9e327b1..b4eec4be4de 100644 --- a/ports/cef/interfaces/cef_browser_process_handler.rs +++ b/ports/cef/interfaces/cef_browser_process_handler.rs @@ -95,7 +95,8 @@ pub struct _cef_browser_process_handler_t { this: *mut cef_browser_process_handler_t) -> *mut interfaces::cef_print_handler_t>, // - // Called when the application should call cef_do_message_loop_work() + // Called when the application should call cef_do_message_loop_work(). May be + // called from a thread. // pub on_work_available: Option<extern "C" fn( this: *mut cef_browser_process_handler_t) -> ()>, @@ -261,7 +262,8 @@ impl CefBrowserProcessHandler { } // - // Called when the application should call cef_do_message_loop_work() + // Called when the application should call cef_do_message_loop_work(). May be + // called from a thread. // pub fn on_work_available(&self) -> () { if self.c_object.is_null() || |