Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: content/common/gpu/gpu_memory_manager_client.cc

Issue 342483007: Removed ManagedMemoryStats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/gpu/gpu_memory_manager_client.h" 5 #include "content/common/gpu/gpu_memory_manager_client.h"
6 6
7 #include "content/common/gpu/gpu_memory_manager.h" 7 #include "content/common/gpu/gpu_memory_manager.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 13 matching lines...) Expand all
24 } 24 }
25 25
26 GpuMemoryManagerClientState::~GpuMemoryManagerClientState() { 26 GpuMemoryManagerClientState::~GpuMemoryManagerClientState() {
27 memory_manager_->OnDestroyClientState(this); 27 memory_manager_->OnDestroyClientState(this);
28 } 28 }
29 29
30 void GpuMemoryManagerClientState::SetVisible(bool visible) { 30 void GpuMemoryManagerClientState::SetVisible(bool visible) {
31 memory_manager_->SetClientStateVisible(this, visible); 31 memory_manager_->SetClientStateVisible(this, visible);
32 } 32 }
33 33
34 void GpuMemoryManagerClientState::SetManagedMemoryStats(
35 const gpu::ManagedMemoryStats& stats) {
36 memory_manager_->SetClientStateManagedMemoryStats(this, stats);
37 }
38
39 } // namespace content 34 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_manager_client.h ('k') | content/common/gpu/gpu_memory_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698