diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 21:23:00 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 21:23:00 +0000 |
commit | 763f848ffbd28b22a6c2aa32bf28184d9c17b366 (patch) | |
tree | c6e662f3b95f1b52866c840a96d8ce02a75032cd /webkit/blob/blob_data.h | |
parent | 314feb0bc9a98d6ea9cfb576485bf82dd07ffe84 (diff) | |
download | chromium_src-763f848ffbd28b22a6c2aa32bf28184d9c17b366.zip chromium_src-763f848ffbd28b22a6c2aa32bf28184d9c17b366.tar.gz chromium_src-763f848ffbd28b22a6c2aa32bf28184d9c17b366.tar.bz2 |
FBTF: Another big ctor/dtor cleanup found by automated tools.
(Shaves ~2MB off Linux Debug .a files)
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/3563004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61237 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/blob/blob_data.h')
-rw-r--r-- | webkit/blob/blob_data.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/webkit/blob/blob_data.h b/webkit/blob/blob_data.h index ddd0e65..4d84587 100644 --- a/webkit/blob/blob_data.h +++ b/webkit/blob/blob_data.h @@ -29,11 +29,8 @@ class BlobData : public base::RefCounted<BlobData> { class Item { public: - Item() - : type_(TYPE_DATA), - offset_(0), - length_(0) { - } + Item(); + ~Item(); Type type() const { return type_; } const std::string& data() const { return data_; } @@ -90,7 +87,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) { @@ -140,7 +137,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_; |