Index: ipc/ipc_message_utils.cc |
diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc |
index 23cfd1339b5cd2d382a371fa4a29eafdf1bb2f17..9a8630dcc574a7819fb9f38414b66ef65acc5e61 100644 |
--- a/ipc/ipc_message_utils.cc |
+++ b/ipc/ipc_message_utils.cc |
@@ -110,7 +110,7 @@ void GetValueSize(base::PickleSizer* sizer, |
break; |
} |
case base::Value::Type::BINARY: { |
- sizer->AddData(static_cast<int>(value->GetSize())); |
+ sizer->AddData(static_cast<int>(value->GetBlob().size())); |
break; |
} |
case base::Value::Type::DICTIONARY: { |
@@ -178,7 +178,8 @@ void WriteValue(base::Pickle* m, const base::Value* value, int recursion) { |
break; |
} |
case base::Value::Type::BINARY: { |
- m->WriteData(value->GetBuffer(), static_cast<int>(value->GetSize())); |
+ m->WriteData(value->GetBlob().data(), |
+ static_cast<int>(value->GetBlob().size())); |
break; |
} |
case base::Value::Type::DICTIONARY: { |