Index: base/values.h |
diff --git a/base/values.h b/base/values.h |
index 4bcdc7526e44b39352fdf1763e2ad4c04860a125..9f9c641df97feff3d6891a53f32b36026510342c 100644 |
--- a/base/values.h |
+++ b/base/values.h |
@@ -181,13 +181,11 @@ class BASE_EXPORT BinaryValue: public Value { |
// Creates a Value to represent a binary buffer. The new object takes |
// ownership of the pointer passed in, if successful. |
- // Returns NULL if buffer is NULL. |
static BinaryValue* Create(char* buffer, size_t size); |
asargent_no_longer_on_chrome
2012/05/11 21:22:46
Instead of just changing the behavior of the Creat
|
// 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. |
- // Returns NULL if buffer is NULL. |
static BinaryValue* CreateWithCopiedBuffer(const char* buffer, size_t size); |
size_t GetSize() const { return size_; } |