chore: remove scoped_clipboard_writer.patch (#15843)
replace with already-exposed APIs
This commit is contained in:
parent
0a5f8611e8
commit
23de301955
3 changed files with 3 additions and 66 deletions
|
@ -65,8 +65,9 @@ void Clipboard::WriteBuffer(const std::string& format,
|
|||
}
|
||||
|
||||
ui::ScopedClipboardWriter writer(GetClipboardType(args));
|
||||
writer.WriteData(node::Buffer::Data(buffer), node::Buffer::Length(buffer),
|
||||
ui::Clipboard::GetFormatType(format));
|
||||
writer.WriteData(
|
||||
ui::Clipboard::GetFormatType(format).Serialize(),
|
||||
std::string(node::Buffer::Data(buffer), node::Buffer::Length(buffer)));
|
||||
}
|
||||
|
||||
void Clipboard::Write(const mate::Dictionary& data, mate::Arguments* args) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue