| Index: storage/common/data_element.h
|
| diff --git a/storage/common/data_element.h b/storage/common/data_element.h
|
| index 08fea6e676796058a719be7f3587f952f1323204..276181b6ec97d9a92a5b1ce4c43c05c3a8831faa 100644
|
| --- a/storage/common/data_element.h
|
| +++ b/storage/common/data_element.h
|
| @@ -42,7 +42,7 @@ class STORAGE_COMMON_EXPORT DataElement {
|
| ~DataElement();
|
|
|
| Type type() const { return type_; }
|
| - const char* bytes() const { return bytes_ ? bytes_ : &buf_[0]; }
|
| + const char* bytes() const { return bytes_ ? bytes_ : buf_.data(); }
|
| const base::FilePath& path() const { return path_; }
|
| const GURL& filesystem_url() const { return filesystem_url_; }
|
| const std::string& blob_uuid() const { return blob_uuid_; }
|
|
|