diff options
Diffstat (limited to 'webkit/blob/blob_data.h')
-rw-r--r-- | webkit/blob/blob_data.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/webkit/blob/blob_data.h b/webkit/blob/blob_data.h index 4d84587..ddd0e65 100644 --- a/webkit/blob/blob_data.h +++ b/webkit/blob/blob_data.h @@ -29,8 +29,11 @@ class BlobData : public base::RefCounted<BlobData> { class Item { public: - Item(); - ~Item(); + Item() + : type_(TYPE_DATA), + offset_(0), + length_(0) { + } Type type() const { return type_; } const std::string& data() const { return data_; } @@ -87,7 +90,7 @@ class BlobData : public base::RefCounted<BlobData> { base::Time expected_modification_time_; }; - BlobData(); + BlobData() { } explicit BlobData(const WebKit::WebBlobData& data); void AppendData(const std::string& data) { @@ -137,7 +140,7 @@ class BlobData : public base::RefCounted<BlobData> { private: friend class base::RefCounted<BlobData>; - virtual ~BlobData(); + virtual ~BlobData() { } std::string content_type_; std::string content_disposition_; |