summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/pepper
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 22:28:01 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 22:28:01 +0000
commit0cd50aa38b761f0b4959794664698f19eeeffb23 (patch)
treeb147a1f64956b452813295a793f4ad10ec40f7ea /content/browser/renderer_host/pepper
parent292393b6a5bb764ef9e9bdb8f08e6045664358f4 (diff)
downloadchromium_src-0cd50aa38b761f0b4959794664698f19eeeffb23.zip
chromium_src-0cd50aa38b761f0b4959794664698f19eeeffb23.tar.gz
chromium_src-0cd50aa38b761f0b4959794664698f19eeeffb23.tar.bz2
Cleanup: Remove deprecated base::Value methods from contents. Use base::Value too.
Review URL: https://chromiumcodereview.appspot.com/12207089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182042 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/pepper')
-rw-r--r--content/browser/renderer_host/pepper/pepper_tcp_socket.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/renderer_host/pepper/pepper_tcp_socket.cc b/content/browser/renderer_host/pepper/pepper_tcp_socket.cc
index 61ccdc2..aeb0425 100644
--- a/content/browser/renderer_host/pepper/pepper_tcp_socket.cc
+++ b/content/browser/renderer_host/pepper/pepper_tcp_socket.cc
@@ -252,9 +252,9 @@ bool PepperTCPSocket::GetCertificateFields(
base::BinaryValue::CreateWithCopiedBuffer(serial_number.data(),
serial_number.length()));
fields->SetField(PP_X509CERTIFICATE_PRIVATE_VALIDITY_NOT_BEFORE,
- base::Value::CreateDoubleValue(cert.valid_start().ToDoubleT()));
+ new base::FundamentalValue(cert.valid_start().ToDoubleT()));
fields->SetField(PP_X509CERTIFICATE_PRIVATE_VALIDITY_NOT_AFTER,
- base::Value::CreateDoubleValue(cert.valid_expiry().ToDoubleT()));
+ new base::FundamentalValue(cert.valid_expiry().ToDoubleT()));
std::string der;
net::X509Certificate::GetDEREncoded(cert.os_cert_handle(), &der);
fields->SetField(PP_X509CERTIFICATE_PRIVATE_RAW,