NativeWidgetMac::CreateNSWindow params changed

https://chromium-review.googlesource.com/c/1295251
This commit is contained in:
Jeremy Apthorp 2019-01-09 15:25:31 -08:00
parent b03daaebe4
commit deff96a1b0
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ class AtomNativeWidgetMac : public views::NativeWidgetMac {
protected:
// NativeWidgetMac:
NativeWidgetMacNSWindow* CreateNSWindow(
const views::Widget::InitParams& params) override;
const views_bridge_mac::mojom::CreateWindowParams* params) override;
private:
NativeWindowMac* shell_;

View file

@ -19,7 +19,7 @@ AtomNativeWidgetMac::AtomNativeWidgetMac(
AtomNativeWidgetMac::~AtomNativeWidgetMac() {}
NativeWidgetMacNSWindow* AtomNativeWidgetMac::CreateNSWindow(
const views::Widget::InitParams& params) {
const views_bridge_mac::mojom::CreateWindowParams* params) {
return [[[AtomNSWindow alloc] initWithShell:shell_ styleMask:style_mask_]
autorelease];
}