diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-09 17:56:05 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-09 17:56:05 +0000 |
commit | f4a9036266938e1afbc2d162949d1fa876dc10f3 (patch) | |
tree | 1e0e4f180999bcba6cecc17097d2b7a9a9150184 /net | |
parent | da00a288d95a7da8f149ec0419b3e725f23d5ef7 (diff) | |
download | chromium_src-f4a9036266938e1afbc2d162949d1fa876dc10f3.zip chromium_src-f4a9036266938e1afbc2d162949d1fa876dc10f3.tar.gz chromium_src-f4a9036266938e1afbc2d162949d1fa876dc10f3.tar.bz2 |
Fix tree: Purify noted I didn't init two bools in a mock-class constructor.
tbr=wtc
Review URL: http://codereview.chromium.org/41001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11255 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/filter_unittest.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/base/filter_unittest.h b/net/base/filter_unittest.h index aae9b39..17a09ad 100644 --- a/net/base/filter_unittest.h +++ b/net/base/filter_unittest.h @@ -14,7 +14,11 @@ //------------------------------------------------------------------------------ class MockFilterContext : public FilterContext { public: - explicit MockFilterContext(int buffer_size) : buffer_size_(buffer_size) {} + explicit MockFilterContext(int buffer_size) + : buffer_size_(buffer_size), + is_cached_content_(false), + is_sdch_response_(false) { + } void SetBufferSize(int buffer_size) { buffer_size_ = buffer_size; } void SetMimeType(const std::string& mime_type) { mime_type_ = mime_type; } |