Index: base/values.h |
diff --git a/base/values.h b/base/values.h |
index f5d265fb369475baf12b264f415d742dfdf25f29..e3d60891b33ecaa91055e2b774cce15fb1e97f99 100644 |
--- a/base/values.h |
+++ b/base/values.h |
@@ -182,7 +182,8 @@ class BASE_EXPORT BinaryValue: public Value { |
// For situations where you want to keep ownership of your buffer, this |
// factory method creates a new BinaryValue by copying the contents of the |
// buffer that's passed in. |
- static BinaryValue* CreateWithCopiedBuffer(const char* buffer, size_t size); |
+ static std::unique_ptr<BinaryValue> CreateWithCopiedBuffer(const char* buffer, |
+ size_t size); |
size_t GetSize() const { return size_; } |