diff options
author | aelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-01 03:45:19 +0000 |
---|---|---|
committer | aelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-01 03:45:19 +0000 |
commit | 8be1a9bff044b0eddf4e994cf0689e7218069f07 (patch) | |
tree | d13ff66db7666434f123efe0fcfb54ee214f8914 /cc/base | |
parent | 4382f6597b325073eb61b23954bc996fbc81810b (diff) | |
download | chromium_src-8be1a9bff044b0eddf4e994cf0689e7218069f07.zip chromium_src-8be1a9bff044b0eddf4e994cf0689e7218069f07.tar.gz chromium_src-8be1a9bff044b0eddf4e994cf0689e7218069f07.tar.bz2 |
cc: Set tile manager memory policy in initializeRenderer.
The combination of software compositing and impl-side painting is
currently broken because no one calls EnforceManagedMemoryPolicy after the
TileManager is created. Add a call in initializeRenderer.
This also results in allocating impl-side-painting tiles in test code,
and this flushed out some bugs in TileManager destruction; I also fixed those.
BUG=236535,230194
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/14061028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197565 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/base')
-rw-r--r-- | cc/base/worker_pool.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/base/worker_pool.cc b/cc/base/worker_pool.cc index ad37338..be9abf9 100644 --- a/cc/base/worker_pool.cc +++ b/cc/base/worker_pool.cc @@ -316,6 +316,7 @@ WorkerPool::~WorkerPool() { void WorkerPool::Shutdown() { inner_->Shutdown(); + inner_->CollectCompletedTasks(); DispatchCompletionCallbacks(); } |