mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Take ScriptThread::compositor out of its RefCell.
There's no reason for it; IpcSender::send takes &self.
This commit is contained in:
parent
7cea4eb01c
commit
2b014befd0
2 changed files with 10 additions and 11 deletions
|
@ -1055,7 +1055,7 @@ impl Document {
|
|||
key: Key,
|
||||
state: KeyState,
|
||||
modifiers: KeyModifiers,
|
||||
compositor: &mut IpcSender<ScriptToCompositorMsg>) {
|
||||
compositor: &IpcSender<ScriptToCompositorMsg>) {
|
||||
let focused = self.get_focused_element();
|
||||
let body = self.GetBody();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue