diff options
author | honghaiz@chromium.org <honghaiz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-18 09:27:01 +0000 |
---|---|---|
committer | honghaiz@chromium.org <honghaiz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-18 09:27:01 +0000 |
commit | 2ec5b56e62d38f6a1947868f90f63633c3579b54 (patch) | |
tree | d9fe03af24086ca7902229594073bba047343516 /cc/test/fake_tile_manager.cc | |
parent | 89445eabf66316dc372191f43b67bfa7874e3612 (diff) | |
download | chromium_src-2ec5b56e62d38f6a1947868f90f63633c3579b54.zip chromium_src-2ec5b56e62d38f6a1947868f90f63633c3579b54.tar.gz chromium_src-2ec5b56e62d38f6a1947868f90f63633c3579b54.tar.bz2 |
Fix chrome crash at NetworkStats.
The crash may happen when the ReadData timed out and deleted the object
but later on a packet arrived and OnReadComplete was started. So I changed
the binding for OnReadComplete to be a weakptr.
Also if Read or write error happens, stop the tests right away.
BUG=273917
Review URL: https://chromiumcodereview.appspot.com/23995021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223829 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_tile_manager.cc')
0 files changed, 0 insertions, 0 deletions