Chromium Code Reviews| Index: webkit/tools/test_shell/plugin_tests.cc |
| =================================================================== |
| --- webkit/tools/test_shell/plugin_tests.cc (revision 6881) |
| +++ webkit/tools/test_shell/plugin_tests.cc (working copy) |
| @@ -29,12 +29,8 @@ |
| class RequestContext : public TestURLRequestContext { |
| public: |
| RequestContext() { |
| - cookie_store_ = new net::CookieMonster(); |
| + cookie_store_.reset(new net::CookieMonster()); |
| } |
| - |
| - virtual ~RequestContext() { |
| - delete cookie_store_; |
| - } |
| }; |
| public: |