Skip to content
Snippets Groups Projects
Unverified Commit fa12a2d6 authored by trop[bot]'s avatar trop[bot] Committed by GitHub
Browse files

chore: remove unused local non-trivial variable path from UnregisterXWindow

it became unused in 2020 by 72a08926



Co-authored-by: default avatarCharles Kerr <charles@charleskerr.com>
parent 91ebdd9a
No related merge requests found
......@@ -80,7 +80,6 @@ void GlobalMenuBarRegistrarX11::RegisterXWindow(x11::Window window) {
void GlobalMenuBarRegistrarX11::UnregisterXWindow(x11::Window window) {
DCHECK(registrar_proxy_);
std::string path = electron::GlobalMenuBarX11::GetPathForWindow(window);
ANNOTATE_SCOPED_MEMORY_LEAK; // http://crbug.com/314087
// TODO(erg): The mozilla implementation goes to a lot of callback trouble
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment