diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-04 14:46:54 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-04 14:46:54 +0000 |
commit | 26d1830e0ed033245d10855a97dee75a9902f1f1 (patch) | |
tree | 6802e3cc90b926c6428c548f34d494436ffca694 /ppapi/tests/test_post_message.h | |
parent | 39d1e9b7fe30a33cf549085823f1f2c90b16a257 (diff) | |
download | chromium_src-26d1830e0ed033245d10855a97dee75a9902f1f1.zip chromium_src-26d1830e0ed033245d10855a97dee75a9902f1f1.tar.gz chromium_src-26d1830e0ed033245d10855a97dee75a9902f1f1.tar.bz2 |
Properly set the testing_interface_ member. Previously this was not being
initialized in the Graphics2D test. I did some refactoring to make one for all
tests and have a consistent way to initialize it for the tests that need it,
which saved some duplicated code.
TEST=this is
BUG=81324
Review URL: http://codereview.chromium.org/6914022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84059 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/tests/test_post_message.h')
-rw-r--r-- | ppapi/tests/test_post_message.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ppapi/tests/test_post_message.h b/ppapi/tests/test_post_message.h index 1b841c8..cf347ec 100644 --- a/ppapi/tests/test_post_message.h +++ b/ppapi/tests/test_post_message.h @@ -10,12 +10,9 @@ #include "ppapi/tests/test_case.h" -struct PPB_Testing_Dev; - class TestPostMessage : public TestCase { public: - explicit TestPostMessage(TestingInstance* instance) - : TestCase(instance), testing_interface_(NULL) {} + explicit TestPostMessage(TestingInstance* instance) : TestCase(instance) {} private: // TestCase implementation. @@ -42,8 +39,6 @@ class TestPostMessage : public TestCase { // Test sending a message when no handler exists, make sure nothing happens. std::string TestNoHandler(); - const PPB_Testing_Dev* testing_interface_; - // This is used to store pp::Var objects we receive via a call to // HandleMessage. std::vector<pp::Var> message_data_; |