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:
|
||||
// NativeWidgetMac:
|
||||
NativeWidgetMacNSWindow* CreateNSWindow(
|
||||
const views::Widget::InitParams& params) override;
|
||||
const views_bridge_mac::mojom::CreateWindowParams* params) override;
|
||||
|
||||
private:
|
||||
NativeWindowMac* shell_;
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue