diff --git a/atom/browser/ui/cocoa/atom_native_widget_mac.h b/atom/browser/ui/cocoa/atom_native_widget_mac.h index a86e239c1eb..c6cad1d345d 100644 --- a/atom/browser/ui/cocoa/atom_native_widget_mac.h +++ b/atom/browser/ui/cocoa/atom_native_widget_mac.h @@ -21,7 +21,7 @@ class AtomNativeWidgetMac : public views::NativeWidgetMac { protected: // NativeWidgetMac: NativeWidgetMacNSWindow* CreateNSWindow( - const views_bridge_mac::mojom::CreateWindowParams* params) override; + const remote_cocoa::mojom::CreateWindowParams* params) override; private: NativeWindowMac* shell_; diff --git a/atom/browser/ui/cocoa/atom_native_widget_mac.mm b/atom/browser/ui/cocoa/atom_native_widget_mac.mm index ceaa878bd94..62db672a23e 100644 --- a/atom/browser/ui/cocoa/atom_native_widget_mac.mm +++ b/atom/browser/ui/cocoa/atom_native_widget_mac.mm @@ -19,7 +19,7 @@ AtomNativeWidgetMac::AtomNativeWidgetMac( AtomNativeWidgetMac::~AtomNativeWidgetMac() {} NativeWidgetMacNSWindow* AtomNativeWidgetMac::CreateNSWindow( - const views_bridge_mac::mojom::CreateWindowParams* params) { + const remote_cocoa::mojom::CreateWindowParams* params) { return [[[AtomNSWindow alloc] initWithShell:shell_ styleMask:style_mask_] autorelease]; }