diff options
| author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-02 23:24:45 +0000 |
|---|---|---|
| committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-02 23:24:45 +0000 |
| commit | cce34bd6de099e68afdedba4ed8cd5f4e67c4cf8 (patch) | |
| tree | 1091f35b17fb6b979b70d455b8d42e4deb878c16 /base/sys_info_android.cc | |
| parent | 015c7adac7753177f0b047223773262cfbadf1d1 (diff) | |
| download | chromium_src-cce34bd6de099e68afdedba4ed8cd5f4e67c4cf8.zip chromium_src-cce34bd6de099e68afdedba4ed8cd5f4e67c4cf8.tar.gz chromium_src-cce34bd6de099e68afdedba4ed8cd5f4e67c4cf8.tar.bz2 | |
cc: Fix the TextureLayerNoExtraCommitForMailboxTest test.
The test puts a mailbox into the compositor tree and then makes sure
only one commit is scheduled.
Right now the test does this by just doing EndTest() and verifying
that a 2nd commit doesn't happen before the test exits. This causes
a crash though when the mailbox is destroyed before being cleaned
up properly, and then the release callback runs on a bad test
pointer.
Instead, we can have the test make use of CommitPendingForTesting()
to verify another commit was not scheduled, then have it remove the
mailbox from the tree as other tests do.
R=enne
BUG=317854
Review URL: https://codereview.chromium.org/99913003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238227 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/sys_info_android.cc')
0 files changed, 0 insertions, 0 deletions
