Remove more references to 'model' in GPUI APIs (#23693)
Release Notes: - N/A
This commit is contained in:
parent
a6b1514246
commit
9cae96f82f
115 changed files with 309 additions and 311 deletions
|
|
@ -972,7 +972,7 @@ impl Buffer {
|
|||
}
|
||||
|
||||
pub fn branch(&mut self, cx: &mut Context<Self>) -> Entity<Self> {
|
||||
let this = cx.model();
|
||||
let this = cx.entity();
|
||||
cx.new(|cx| {
|
||||
let mut branch = Self {
|
||||
branch_state: Some(BufferBranchState {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue