refactor: remove unused C string ToV8() gin converter (#44500)
This commit is contained in:
parent
b985d8eb28
commit
9137d96ef4
2 changed files with 1 additions and 9 deletions
|
@ -1344,7 +1344,7 @@ content::KeyboardEventProcessingResult WebContents::PreHandleKeyboardEvent(
|
|||
}
|
||||
|
||||
void WebContents::ContentsZoomChange(bool zoom_in) {
|
||||
Emit("zoom-changed", zoom_in ? "in" : "out");
|
||||
Emit("zoom-changed", std::string_view{zoom_in ? "in" : "out"});
|
||||
}
|
||||
|
||||
Profile* WebContents::GetProfile() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue