summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorlpromero@google.com <lpromero@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-11 16:08:07 +0000
committerlpromero@google.com <lpromero@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-11 16:08:07 +0000
commit22d68da72421c17ee15e0c7be71740b10a93ee9e (patch)
tree9f2f16fb4439a890cbf7f61c6abea63605953781 /testing
parent8771512b6e74d415dac5377b3b80e5f21de710b4 (diff)
downloadchromium_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
Diffstat (limited to 'testing')
-rw-r--r--testing/platform_test.h4
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_;