diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-29 23:09:40 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-29 23:09:40 +0000 |
commit | 0044b810333212dda702cc6e22b042e8331df4fc (patch) | |
tree | f24a8fffe63ad29fd9ef5a726438ad578f36fbe3 /chrome | |
parent | fb513f28726df58f421427030210fa8c95bc7940 (diff) | |
download | chromium_src-0044b810333212dda702cc6e22b042e8331df4fc.zip chromium_src-0044b810333212dda702cc6e22b042e8331df4fc.tar.gz chromium_src-0044b810333212dda702cc6e22b042e8331df4fc.tar.bz2 |
Coverity: Initialize stats_table_ in the constructor.
CID=1648
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/251037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27561 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/test/unit/chrome_test_suite.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/test/unit/chrome_test_suite.h b/chrome/test/unit/chrome_test_suite.h index 536ff37..9c838a4 100644 --- a/chrome/test/unit/chrome_test_suite.h +++ b/chrome/test/unit/chrome_test_suite.h @@ -5,10 +5,10 @@ #ifndef CHROME_TEST_UNIT_CHROME_TEST_SUITE_H_ #define CHROME_TEST_UNIT_CHROME_TEST_SUITE_H_ -#include "build/build_config.h" - #include <string> +#include "build/build_config.h" + #include "app/app_paths.h" #include "app/resource_bundle.h" #include "base/stats_table.h" @@ -63,7 +63,9 @@ class WarningHostResolverProc : public net::HostResolverProc { class ChromeTestSuite : public TestSuite { public: - ChromeTestSuite(int argc, char** argv) : TestSuite(argc, argv) { + ChromeTestSuite(int argc, char** argv) + : TestSuite(argc, argv), + stats_table_(NULL) { } protected: |