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() {
|
||||
if (window())
|
||||
[window() release];
|
||||
// Use autorelease since we may have delegates or observers at this time.
|
||||
[window() autorelease];
|
||||
}
|
||||
|
||||
void NativeWindowMac::Close() {
|
||||
|
|
Loading…
Reference in a new issue