summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_protocol_test.cc
diff options
context:
space:
mode:
authormichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-08 19:56:27 +0000
committermichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-08 19:56:27 +0000
commit625cc1dd952cc86506a9ba3ebccf7673fa4066f8 (patch)
tree61dabf8f83cb8ac90d9a6672faf76fd8c0aecb70 /net/spdy/spdy_protocol_test.cc
parentebc34e011dcb9556407b6d724e1336c9852141a7 (diff)
downloadchromium_src-625cc1dd952cc86506a9ba3ebccf7673fa4066f8.zip
chromium_src-625cc1dd952cc86506a9ba3ebccf7673fa4066f8.tar.gz
chromium_src-625cc1dd952cc86506a9ba3ebccf7673fa4066f8.tar.bz2
Make ExtensionSpecialStoragePolicy hold references to extentions added.
The 'policy' object can outlive the ExtensionService class and upon destruction the ExtensionService class does not clear out the 'policy' object. Prior to the change, the 'policy' class was keeping raw ptrs to 'extension' objects, but they will have been deleted if the ExtensionService has been deleted... and CRASH! With the change, the 'policy' object addrefs each extension added to it... so no crash. BUG=78688 TEST=existing tests apply Review URL: http://codereview.chromium.org/6801062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80971 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_protocol_test.cc')
0 files changed, 0 insertions, 0 deletions