mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Add mostly-correct (albeit leaky) string marshaling
This commit is contained in:
parent
14ef53cf57
commit
1ac5bfe830
34 changed files with 175 additions and 147 deletions
|
@ -195,7 +195,7 @@ impl CefApp {
|
|||
// modify command-line arguments for non-browser processes as this may result
|
||||
// in undefined behavior including crashes.
|
||||
//
|
||||
pub fn on_before_command_line_processing(&self, process_type: &str,
|
||||
pub fn on_before_command_line_processing(&self, process_type: &[u16],
|
||||
command_line: interfaces::CefCommandLine) -> () {
|
||||
if self.c_object.is_null() {
|
||||
panic!("called a CEF method on a null object")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue