| Index: chrome/browser/ssl/ssl_add_cert_handler_mac.mm
|
| diff --git a/chrome/browser/ssl/ssl_add_cert_handler_mac.mm b/chrome/browser/ssl/ssl_add_cert_handler_mac.mm
|
| index 4ff9c5c3cb429e71c873e8212bf0bdf3d7814380..01bca608f83d83257545b2912b58144fd4bc4699 100644
|
| --- a/chrome/browser/ssl/ssl_add_cert_handler_mac.mm
|
| +++ b/chrome/browser/ssl/ssl_add_cert_handler_mac.mm
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -59,7 +59,7 @@ void SSLAddCertHandler::AskToAddCert() {
|
| Browser* browser = browser::GetLastActiveBrowser();
|
| // TODO(snej): Can I get the Browser that issued the request?
|
| if (browser) {
|
| - parentWindow = browser->window()->GetNativeHandle();
|
| + parentWindow = browser->window()->GetNativeWindow();
|
| if ([parentWindow attachedSheet])
|
| parentWindow = nil;
|
| }
|
|
|