diff options
author | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-12 22:57:28 +0000 |
---|---|---|
committer | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-12 22:57:28 +0000 |
commit | 469b82d84ef7e3d9eb37eeb62546af240225f73e (patch) | |
tree | ac8d5631b6c540ac1f66c62416c8275c1035188a /content/browser/gpu/gpu_data_manager_impl.cc | |
parent | 7ffee21c761211191b3064a480d009286bb7b2e8 (diff) | |
download | chromium_src-469b82d84ef7e3d9eb37eeb62546af240225f73e.zip chromium_src-469b82d84ef7e3d9eb37eeb62546af240225f73e.tar.gz chromium_src-469b82d84ef7e3d9eb37eeb62546af240225f73e.tar.bz2 |
Delete memory manager dead code.
There have existed two paths in the memory manager for
a few months -- the old path which uniformly distributes
all memory across all visible renderers, and the new path
which takes into account the needs of each renderer.
The transition was made from the old policy to the new
policy quite a while ago, so we can safely get rid of
the old policy.
BUG=150883
Review URL: https://chromiumcodereview.appspot.com/12475002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187678 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_data_manager_impl.cc')
-rw-r--r-- | content/browser/gpu/gpu_data_manager_impl.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/content/browser/gpu/gpu_data_manager_impl.cc b/content/browser/gpu/gpu_data_manager_impl.cc index 4790b09..5c31e37 100644 --- a/content/browser/gpu/gpu_data_manager_impl.cc +++ b/content/browser/gpu/gpu_data_manager_impl.cc @@ -206,22 +206,6 @@ void GpuDataManagerImpl::RemoveObserver(GpuDataManagerObserver* observer) { observer_list_->RemoveObserver(observer); } -void GpuDataManagerImpl::SetWindowCount(uint32 count) { - { - base::AutoLock auto_lock(gpu_info_lock_); - window_count_ = count; - } - GpuProcessHost::SendOnIO( - GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED, - CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH, - new GpuMsg_SetVideoMemoryWindowCount(count)); -} - -uint32 GpuDataManagerImpl::GetWindowCount() const { - base::AutoLock auto_lock(gpu_info_lock_); - return window_count_; -} - void GpuDataManagerImpl::UnblockDomainFrom3DAPIs(const GURL& url) { // This method must do two things: // |