diff options
author | lpromero@google.com <lpromero@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-11 16:08:07 +0000 |
---|---|---|
committer | lpromero@google.com <lpromero@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-11 16:08:07 +0000 |
commit | 22d68da72421c17ee15e0c7be71740b10a93ee9e (patch) | |
tree | 9f2f16fb4439a890cbf7f61c6abea63605953781 | |
parent | 8771512b6e74d415dac5377b3b80e5f21de710b4 (diff) | |
download | chromium_src-22d68da72421c17ee15e0c7be71740b10a93ee9e.zip chromium_src-22d68da72421c17ee15e0c7be71740b10a93ee9e.tar.gz chromium_src-22d68da72421c17ee15e0c7be71740b10a93ee9e.tar.bz2 |
Change visibility of the destructor to public.
PlatformTest's destructor was set as protected, though the parent class
testing::Test declares it public.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/11038058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161352 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | testing/platform_test.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/platform_test.h b/testing/platform_test.h index f10a938..04fc845 100644 --- a/testing/platform_test.h +++ b/testing/platform_test.h @@ -20,9 +20,11 @@ class NSAutoreleasePool; // implemented on the Mac. To enable this for another platform, just adjust // the #ifdefs and add a platform_test_<platform>.cc implementation file. class PlatformTest : public testing::Test { + public: + virtual ~PlatformTest(); + protected: PlatformTest(); - virtual ~PlatformTest(); private: NSAutoreleasePool* pool_; |