| Index: gpu/command_buffer/service/common_decoder.h
|
| ===================================================================
|
| --- gpu/command_buffer/service/common_decoder.h (revision 40176)
|
| +++ gpu/command_buffer/service/common_decoder.h (working copy)
|
| @@ -57,7 +57,7 @@
|
|
|
| // Gets a pointer to a section the bucket. Returns NULL if offset or size is
|
| // out of range.
|
| - const void* GetData(size_t offset, size_t size) const;
|
| + void* GetData(size_t offset, size_t size) const;
|
|
|
| template <typename T>
|
| T GetDataAs(size_t offset, size_t size) const {
|
| @@ -71,7 +71,8 @@
|
| // Returns false if offset or size is out of range.
|
| bool SetData(const void* src, size_t offset, size_t size);
|
|
|
| - // Sets the bucket data from a string.
|
| + // Sets the bucket data from a string. Strings are passed NULL terminated to
|
| + // distinguish between empty string and no string.
|
| void SetFromString(const std::string& str);
|
|
|
| private:
|
|
|