Index: base/trace_event/trace_event_memory_overhead.cc |
diff --git a/base/trace_event/trace_event_memory_overhead.cc b/base/trace_event/trace_event_memory_overhead.cc |
index 9491f65359ffa6fd35b440a05f04f9f2f8af423c..d23383f701c095b14edad2f59a419b60daaa485a 100644 |
--- a/base/trace_event/trace_event_memory_overhead.cc |
+++ b/base/trace_event/trace_event_memory_overhead.cc |
@@ -84,9 +84,7 @@ void TraceEventMemoryOverhead::AddValue(const Value& value) { |
} break; |
case Value::Type::BINARY: { |
- const Value* binary_value = nullptr; |
- value.GetAsBinary(&binary_value); |
- Add("BinaryValue", sizeof(Value) + binary_value->GetBlob().size()); |
+ Add("BinaryValue", sizeof(Value) + value.GetBlob().size()); |
} break; |
case Value::Type::DICTIONARY: { |