mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.
This commit is contained in:
parent
b8900782b0
commit
466faac2a5
223 changed files with 4414 additions and 4105 deletions
|
@ -7,7 +7,7 @@ use interfaces::{CefFrame, CefStringVisitor, cef_frame_t, cef_string_visitor_t};
|
|||
use types::{cef_string_t, cef_string_userfree_t};
|
||||
|
||||
use core;
|
||||
use compositing::windowing::LoadUrlWindowEvent;
|
||||
use compositing::windowing::WindowEvent;
|
||||
use std::cell::RefCell;
|
||||
|
||||
pub struct ServoCefFrame {
|
||||
|
@ -29,7 +29,7 @@ cef_class_impl! {
|
|||
fn load_url(&this, url: *const cef_string_t) -> () {
|
||||
let this = this.downcast();
|
||||
*this.url.borrow_mut() = String::from_utf16(url).unwrap();
|
||||
core::send_window_event(LoadUrlWindowEvent(String::from_utf16(url).unwrap()));
|
||||
core::send_window_event(WindowEvent::LoadUrl(String::from_utf16(url).unwrap()));
|
||||
}
|
||||
fn get_url(&this) -> cef_string_userfree_t {
|
||||
let this = this.downcast();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue