refactor: remove unused C string ToV8() gin converter (#44522)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
trop[bot] 2024-11-02 10:34:39 -05:00 committed by GitHub
parent 8b38c78e94
commit 7930412006
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 9 deletions

View file

@ -1311,7 +1311,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() {