parent
98fcc93862
commit
395eb067d1
1 changed files with 2 additions and 1 deletions
|
@ -199,7 +199,8 @@ NativeWindowMac::NativeWindowMac(content::WebContents* web_contents,
|
||||||
|
|
||||||
NativeWindowMac::~NativeWindowMac() {
|
NativeWindowMac::~NativeWindowMac() {
|
||||||
if (window())
|
if (window())
|
||||||
[window() release];
|
// Use autorelease since we may have delegates or observers at this time.
|
||||||
|
[window() autorelease];
|
||||||
}
|
}
|
||||||
|
|
||||||
void NativeWindowMac::Close() {
|
void NativeWindowMac::Close() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue