Index: ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc |
diff --git a/ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc b/ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc |
index e69aecc3444a7860fe0b5b379a9ed7a957ae5337..a2b10dd35bbd6e414f85906cc0ce3f662d15a7dc 100644 |
--- a/ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc |
+++ b/ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc |
@@ -64,8 +64,8 @@ PP_Var PPB_X509Certificate_Fields::GetFieldAsPPVar( |
return StringVar::StringToPPVar(val); |
} |
case base::Value::Type::BINARY: { |
- uint32_t size = static_cast<uint32_t>(value->GetSize()); |
- const char* buffer = value->GetBuffer(); |
+ uint32_t size = static_cast<uint32_t>(value->GetBlob().size()); |
+ const char* buffer = value->GetBlob().data(); |
PP_Var array_buffer = |
PpapiGlobals::Get()->GetVarTracker()->MakeArrayBufferPPVar(size, |
buffer); |