NativeWidgetMac::CreateNSWindow params changed
https://chromium-review.googlesource.com/c/1295251
This commit is contained in:
parent
b03daaebe4
commit
deff96a1b0
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ class AtomNativeWidgetMac : public views::NativeWidgetMac {
|
||||||
protected:
|
protected:
|
||||||
// NativeWidgetMac:
|
// NativeWidgetMac:
|
||||||
NativeWidgetMacNSWindow* CreateNSWindow(
|
NativeWidgetMacNSWindow* CreateNSWindow(
|
||||||
const views::Widget::InitParams& params) override;
|
const views_bridge_mac::mojom::CreateWindowParams* params) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NativeWindowMac* shell_;
|
NativeWindowMac* shell_;
|
||||||
|
|
|
@ -19,7 +19,7 @@ AtomNativeWidgetMac::AtomNativeWidgetMac(
|
||||||
AtomNativeWidgetMac::~AtomNativeWidgetMac() {}
|
AtomNativeWidgetMac::~AtomNativeWidgetMac() {}
|
||||||
|
|
||||||
NativeWidgetMacNSWindow* AtomNativeWidgetMac::CreateNSWindow(
|
NativeWidgetMacNSWindow* AtomNativeWidgetMac::CreateNSWindow(
|
||||||
const views::Widget::InitParams& params) {
|
const views_bridge_mac::mojom::CreateWindowParams* params) {
|
||||||
return [[[AtomNSWindow alloc] initWithShell:shell_ styleMask:style_mask_]
|
return [[[AtomNSWindow alloc] initWithShell:shell_ styleMask:style_mask_]
|
||||||
autorelease];
|
autorelease];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue