]> khamidou — GitHub mirrors - electron.git/commitdiff
Rig GlobalMenuBarRegistrarX11 for Atom
authorPaul Betts <paul@paulbetts.org>
Mon, 7 Dec 2015 22:29:11 +0000 (14:29 -0800)
committerPaul Betts <paul@paulbetts.org>
Mon, 7 Dec 2015 22:30:26 +0000 (14:30 -0800)
chromium_src/chrome/browser/ui/views/frame/global_menu_bar_registrar_x11.cc

index 3913325f21caafda17f076d6e6e870f1baa4d7e9..cead675a74d33ac990b1a77fe5f9c2c6416ac249 100644 (file)
@@ -70,7 +70,7 @@ GlobalMenuBarRegistrarX11::~GlobalMenuBarRegistrarX11() {
 
 void GlobalMenuBarRegistrarX11::RegisterXID(unsigned long xid) {
   DCHECK(registrar_proxy_);
-  std::string path = GlobalMenuBarX11::GetPathForWindow(xid);
+  std::string path = atom::GlobalMenuBarX11::GetPathForWindow(xid);
 
   ANNOTATE_SCOPED_MEMORY_LEAK; // http://crbug.com/314087
   // TODO(erg): The mozilla implementation goes to a lot of callback trouble
@@ -91,7 +91,7 @@ void GlobalMenuBarRegistrarX11::RegisterXID(unsigned long xid) {
 
 void GlobalMenuBarRegistrarX11::UnregisterXID(unsigned long xid) {
   DCHECK(registrar_proxy_);
-  std::string path = GlobalMenuBarX11::GetPathForWindow(xid);
+  std::string path = atom::GlobalMenuBarX11::GetPathForWindow(xid);
 
   ANNOTATE_SCOPED_MEMORY_LEAK; // http://crbug.com/314087
   // TODO(erg): The mozilla implementation goes to a lot of callback trouble