diff options
Diffstat (limited to 'webkit/tools/test_shell/plugin_tests.cc')
-rw-r--r-- | webkit/tools/test_shell/plugin_tests.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/webkit/tools/test_shell/plugin_tests.cc b/webkit/tools/test_shell/plugin_tests.cc index a7095dc..6b555a0 100644 --- a/webkit/tools/test_shell/plugin_tests.cc +++ b/webkit/tools/test_shell/plugin_tests.cc @@ -29,11 +29,7 @@ class PluginTest : public TestShellTest { class RequestContext : public TestURLRequestContext { public: RequestContext() { - cookie_store_ = new net::CookieMonster(); - } - - virtual ~RequestContext() { - delete cookie_store_; + cookie_store_.reset(new net::CookieMonster()); } }; |