| Index: chrome/browser/ui/webui/options/advanced_options_utils_win.cc
|
| diff --git a/chrome/browser/ui/webui/options/advanced_options_utils_win.cc b/chrome/browser/ui/webui/options/advanced_options_utils_win.cc
|
| index 39e47512f9593eab4b7faeebe6512b280e1a747d..ac1ca8255c726fb48154775e01ff16275a06752c 100644
|
| --- a/chrome/browser/ui/webui/options/advanced_options_utils_win.cc
|
| +++ b/chrome/browser/ui/webui/options/advanced_options_utils_win.cc
|
| @@ -16,6 +16,7 @@
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_contents_view.h"
|
| +#include "ui/views/win/hwnd_util.h"
|
|
|
| using content::BrowserThread;
|
| using content::WebContents;
|
| @@ -60,12 +61,8 @@ void AdvancedOptionsUtilities::ShowManageSSLCertificates(
|
| WebContents* web_contents) {
|
| CRYPTUI_CERT_MGR_STRUCT cert_mgr = { 0 };
|
| cert_mgr.dwSize = sizeof(CRYPTUI_CERT_MGR_STRUCT);
|
| - cert_mgr.hwndParent =
|
| -#if defined(USE_AURA)
|
| - NULL;
|
| -#else
|
| - web_contents->GetView()->GetTopLevelNativeWindow();
|
| -#endif
|
| + cert_mgr.hwndParent = views::HWNDForNativeWindow(
|
| + web_contents->GetView()->GetTopLevelNativeWindow());
|
| ::CryptUIDlgCertMgr(&cert_mgr);
|
| }
|
|
|
|
|