| Index: chrome/browser/ui/webui/options/certificate_manager_handler.cc
|
| ===================================================================
|
| --- chrome/browser/ui/webui/options/certificate_manager_handler.cc (revision 98479)
|
| +++ chrome/browser/ui/webui/options/certificate_manager_handler.cc (working copy)
|
| @@ -466,13 +466,12 @@
|
|
|
| int trust = certificate_manager_model_->cert_db().GetCertTrust(
|
| cert, net::CA_CERT);
|
| - using base::FundamentalValue;
|
| - FundamentalValue ssl_value(bool(trust & net::CertDatabase::TRUSTED_SSL));
|
| - FundamentalValue email_value(bool(trust & net::CertDatabase::TRUSTED_EMAIL));
|
| - FundamentalValue obj_sign_value(
|
| - bool(trust & net::CertDatabase::TRUSTED_OBJ_SIGN));
|
| - web_ui_->CallJavascriptFunction(
|
| - "CertificateEditCaTrustOverlay.populateTrust",
|
| + base::FundamentalValue ssl_value(!!(trust & net::CertDatabase::TRUSTED_SSL));
|
| + base::FundamentalValue email_value(
|
| + !!(trust & net::CertDatabase::TRUSTED_EMAIL));
|
| + base::FundamentalValue obj_sign_value(
|
| + !!(trust & net::CertDatabase::TRUSTED_OBJ_SIGN));
|
| + web_ui_->CallJavascriptFunction("CertificateEditCaTrustOverlay.populateTrust",
|
| ssl_value, email_value, obj_sign_value);
|
| }
|
|
|
|
|