diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-09 05:15:56 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-09 05:15:56 +0000 |
commit | 166020bd7aade44caeaefd67422b6162172a8956 (patch) | |
tree | 8efb28c81b85111a792a82c28d69f0fd0cdc8c10 /skia/animator/SkDrawSaveLayer.cpp | |
parent | 61198eeba940f70a9ecaa36faa9e5b84555011ea (diff) | |
download | chromium_src-166020bd7aade44caeaefd67422b6162172a8956.zip chromium_src-166020bd7aade44caeaefd67422b6162172a8956.tar.gz chromium_src-166020bd7aade44caeaefd67422b6162172a8956.tar.bz2 |
Delete pending tasks that have not run. To do this properly, I found that I cannot clear MessageLoop::current() until all of the tasks have been deleted.
I wrote a loop to make sure that the queues are all empty. This could be abused, obviously. Another approach would be to CHECK that the second loop doesn't do anything. Thoughts?
R=jar
Review URL: http://codereview.chromium.org/1829
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1891 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/animator/SkDrawSaveLayer.cpp')
0 files changed, 0 insertions, 0 deletions