Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1119)

Unified Diff: content/browser/renderer_host/pepper/pepper_socket_utils.cc

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/pepper/pepper_socket_utils.cc
diff --git a/content/browser/renderer_host/pepper/pepper_socket_utils.cc b/content/browser/renderer_host/pepper/pepper_socket_utils.cc
index e3f089edd25b8398480901476ebb840f9aaaff70..822bc5659c16b156e6d2b2ced941af1da0ee7ee3 100644
--- a/content/browser/renderer_host/pepper/pepper_socket_utils.cc
+++ b/content/browser/renderer_host/pepper/pepper_socket_utils.cc
@@ -118,10 +118,10 @@ bool GetCertificateFields(const net::X509Certificate& cert,
serial_number.data(), serial_number.length()));
fields->SetField(
PP_X509CERTIFICATE_PRIVATE_VALIDITY_NOT_BEFORE,
- base::MakeUnique<base::FundamentalValue>(cert.valid_start().ToDoubleT()));
- fields->SetField(PP_X509CERTIFICATE_PRIVATE_VALIDITY_NOT_AFTER,
- base::MakeUnique<base::FundamentalValue>(
- cert.valid_expiry().ToDoubleT()));
+ base::MakeUnique<base::Value>(cert.valid_start().ToDoubleT()));
+ fields->SetField(
+ PP_X509CERTIFICATE_PRIVATE_VALIDITY_NOT_AFTER,
+ base::MakeUnique<base::Value>(cert.valid_expiry().ToDoubleT()));
std::string der;
net::X509Certificate::GetDEREncoded(cert.os_cert_handle(), &der);
fields->SetField(
« no previous file with comments | « content/browser/media/media_internals_proxy.cc ('k') | content/browser/service_worker/service_worker_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698