File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -142,14 +142,11 @@ void ShowSSLClientCertificateSelector(
142
142
net::ClientCertIdentityList client_certs,
143
143
std::unique_ptr<content::ClientCertificateDelegate> delegate) {
144
144
#if defined(OS_MACOSX)
145
- // TODO(ellyjones): Always use the Cocoa cert selector, even in Views builds.
146
- // See also https://crbug.com/804950.
147
- if (views_mode_controller::IsViewsBrowserCocoa ()) {
148
- return ShowSSLClientCertificateSelectorCocoa (contents, cert_request_info,
149
- std::move (client_certs),
150
- std::move (delegate));
151
- }
152
- #endif
145
+ return ShowSSLClientCertificateSelectorCocoa (contents, cert_request_info,
146
+ std::move (client_certs),
147
+ std::move (delegate));
148
+ #else // defined(OS_MACOSX)
149
+
153
150
DCHECK_CURRENTLY_ON (content::BrowserThread::UI);
154
151
155
152
// Not all WebContentses can show modal dialogs.
@@ -164,6 +161,7 @@ void ShowSSLClientCertificateSelector(
164
161
std::move (delegate));
165
162
selector->Init ();
166
163
selector->Show ();
164
+ #endif // defined(OS_MACOSX)
167
165
}
168
166
169
167
} // namespace chrome
You can’t perform that action at this time.
0 commit comments